Fish: Make all tabs become spaces :P
With a tab stop of 4, of course.
This commit is contained in:
parent
a9f520eacb
commit
a046ab6c16
|
@ -1,8 +1,8 @@
|
|||
function cat --wraps=ccat --description 'alias cat=ccat'
|
||||
if command -sq ccat
|
||||
ccat $argv;
|
||||
else
|
||||
set catpath (which cat)
|
||||
$catpath $argv;
|
||||
end
|
||||
if command -sq ccat
|
||||
ccat $argv;
|
||||
else
|
||||
set catpath (which cat)
|
||||
$catpath $argv;
|
||||
end
|
||||
end
|
||||
|
|
|
@ -91,15 +91,15 @@ function fish_prompt --description 'Write out the prompt'
|
|||
# PWD
|
||||
set wd (prompt_pwd)
|
||||
set_color $color_cwd
|
||||
if not [ $wd = '~' ]
|
||||
# Make basename blue just because
|
||||
if not [ $wd = '~' ]
|
||||
# Make basename blue just because
|
||||
echo -n (dirname $wd)'/'
|
||||
set_color $color_cwd_base
|
||||
echo -n (basename $wd)
|
||||
set_color $color_cwd_base
|
||||
echo -n (basename $wd)
|
||||
else
|
||||
echo -n ' ~'
|
||||
end
|
||||
set_color normal
|
||||
set_color normal
|
||||
|
||||
printf '%s' (fish_vcs_prompt)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
function ll
|
||||
if command -sq exa
|
||||
exa -lahg --git -t modified $argv
|
||||
else
|
||||
ls -Al $argv
|
||||
end
|
||||
if command -sq exa
|
||||
exa -lahg --git -t modified $argv
|
||||
else
|
||||
ls -Al $argv
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function nvm
|
||||
bass source ~/.nvm/nvm.sh --no-use ';' nvm $argv
|
||||
bass source "$NVM_DIR"/nvm.sh --no-use ';' nvm $argv
|
||||
end
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
function rm --wraps=trash --description 'alias rm=trash'
|
||||
if command -sq trash
|
||||
trash $argv;
|
||||
else
|
||||
set rmpath (which rm)
|
||||
$rmpath $argv;
|
||||
end
|
||||
if command -sq trash
|
||||
trash $argv;
|
||||
else
|
||||
set rmpath (which rm)
|
||||
$rmpath $argv;
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue