Added Updates
This commit is contained in:
16
configs/alias_useful.fish
Normal file → Executable file
16
configs/alias_useful.fish
Normal file → Executable file
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# In ~/.config/fish/configs/alias_useful.fish
|
||||
# In ~/.config/fish/config.fish
|
||||
#
|
||||
|
||||
if test "$TERM" = "xterm-kitty"
|
||||
@@ -56,7 +56,7 @@ alias .... 'cd ../../..'
|
||||
alias ..... 'cd ../../../..'
|
||||
alias ...... 'cd ../../../../..'
|
||||
|
||||
alias grep 'ugrep --color=auto'
|
||||
#alias grep 'ugrep --color=auto'
|
||||
alias egrep 'ugrep -E --color=auto'
|
||||
alias fgrep 'ugrep -F --color=auto'
|
||||
|
||||
@@ -102,4 +102,14 @@ function nanorm
|
||||
rm $arg
|
||||
end
|
||||
nano $arg
|
||||
end
|
||||
end
|
||||
|
||||
function sudo
|
||||
if test -x /usr/bin/sudo-rs
|
||||
command sudo-rs $argv
|
||||
else
|
||||
command sudo $argv
|
||||
end
|
||||
end
|
||||
|
||||
alias ssh='env TERM=xterm-256color ssh'
|
||||
Reference in New Issue
Block a user