Skip to content

Commit

Permalink
Fix: canonicalize readlink on nvm_alias_command function
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioAntunes committed Feb 16, 2019
1 parent 3c843fd commit 1ca1bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/nvm_alias_command.fish
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function nvm_alias_command -d "Create an alias command"
end

if test (count $argv) -le 0
set -l path ( dirname (readlink (status --current-filename)))
set -l path ( dirname (readlink -f (status --current-filename)))
set -l aliases (command ls -1 (realpath $path))

for val in $aliases
Expand Down

0 comments on commit 1ca1bd0

Please sign in to comment.