New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "." command should be called "source" #310
Comments
"." is a terrible name whose sole virtue is compatibility with other shells. |
Would it be terrible to make "source" an alias for "." (or vice-versa)? I just had trouble finding the command in the docs (to figure out its argv behaviour) because it's really hard to search a web page for ".". |
I think it should be renamed to |
Honestly, we've broken compatibility anyway; source should be used instead. |
I agree (FWIW). |
However, it might be prudent to have Also, it doesn't necessarily have to be
Reasons to even consider another name than
I like |
In fact I would argue that, unless |
|
I was suggesting making it work, not saying it already does. Or are you saying there's a reason it couldn't work? |
That being said, |
Ah, that's a good point. What about |
I don't think that adding a flag would be a good idea. Makes more sense as a separate function. |
Well arguably flags is the preferred way in fish, for example |
|
I think that this feature should be implemented soon because it can be very confusing. Because of the implicit cd, I often use |
I think fish simply shouldn't ever have In fish 3, I guess "." command could be removed, but not sure about that. |
I'm leaving this open as a reminder to update the documentation. |
Also needs completions updated. |
The . command has been deprecated and source is now preferred (fish-shell/fish-shell#310).
The . command has been deprecated and source is now preferred (fish-shell/fish-shell#310).
Even though the usage of the `.` is deprecated in favour of `source`, there is no other way to support fish 2.0.0 without it. See also: fish-shell/fish-shell#310 fish-shell/fish-shell@edc4614e http://fish.sh/docs/current/commands.html#source-description
Same issue as jorgebucaran/pyenv#10. Fish 3.x is removing the `.` function/alias, only `source` remains. Relates to fish-shell/fish-shell#310
Single dot has been deprecated and can cause issues with users on newer version: fish-shell/fish-shell#310
and the `source` command is preferred fish-shell/fish-shell#310
and the `source` command is preferred fish-shell/fish-shell#310 sign: ruffsl <roxfoxpox@gmail.com>
and the `source` command is preferred fish-shell/fish-shell#310 Signed-off-by: ruffsl <roxfoxpox@gmail.com>
Slightly controversial, perhaps, but with all of fish's commands having nice user-friendly names, "." stands out like a sore thumb. Heck, it's even indexed as "source" in the help page (i.e. after "set_color" and before "status"). I realise issue #211 sort of raised this, but I've never seen a good explanation of why the command is called ".". I therefore suggest changing the name.
The text was updated successfully, but these errors were encountered: