Remove fish configs
This commit is contained in:
parent
5b923a5427
commit
2916f3bc3d
6 changed files with 0 additions and 117 deletions
|
@ -1,36 +0,0 @@
|
|||
# vim: se ts=4:
|
||||
|
||||
function cd --description 'Change directory'
|
||||
# Skip history in subshells
|
||||
if status --is-command-substitution
|
||||
builtin cd $argv
|
||||
return $status
|
||||
end
|
||||
|
||||
# Avoid set completions
|
||||
set -l previous $PWD
|
||||
|
||||
if test $argv[1] = - ^/dev/null
|
||||
if test "$__fish_cd_direction" = next ^/dev/null
|
||||
nextd
|
||||
else
|
||||
prevd
|
||||
end
|
||||
return $status
|
||||
end
|
||||
|
||||
builtin cd $argv[1]
|
||||
set -l cd_status $status
|
||||
|
||||
if test $cd_status = 0 -a "$PWD" != "$previous"
|
||||
set -g dirprev $dirprev $previous
|
||||
set -e dirnext
|
||||
set -g __fish_cd_direction prev
|
||||
end
|
||||
|
||||
if test $cd_status = 0
|
||||
ls
|
||||
end
|
||||
|
||||
return $cd_status
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue