better ssh
This commit is contained in:
@@ -13,6 +13,7 @@ if type -q fzf
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
# cd
|
||||
if type -q zoxide
|
||||
zoxide init fish | source
|
||||
@@ -46,4 +47,9 @@ alias grep="grep --color=auto"
|
||||
if type -q nvim
|
||||
set -x EDITOR nvim
|
||||
set -x VISUAL nvim
|
||||
end
|
||||
end
|
||||
|
||||
# others
|
||||
if type -q tty-clock
|
||||
alias clock="tty-clock -c -C 3"
|
||||
end
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
# PATH
|
||||
fish_add_path $HOME/.local/bin
|
||||
fish_add_path $HOME/.cargo/bin
|
||||
fish_add_path $HOME/go/bin
|
||||
fish_add_path $HOME/.scripts
|
||||
fish_add_path $HOME/.scripts
|
||||
|
||||
# man
|
||||
if type -q bat
|
||||
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||
set -x MANROFFOPT -c
|
||||
end
|
||||
Reference in New Issue
Block a user