fish
This commit is contained in:
parent
a67d4e37c1
commit
2d69ae961a
4 changed files with 7 additions and 11 deletions
|
@ -1,3 +0,0 @@
|
|||
if test (command -v doas)
|
||||
abbr sudo doas
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
if test (command -v starship)
|
||||
starship init fish | source
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
if test (command -v zoxide)
|
||||
zoxide init fish | source
|
||||
end
|
|
@ -2,8 +2,8 @@ set -U fish_greeting
|
|||
|
||||
alias exa="exa --group-directories-first"
|
||||
alias newkey="gpg-connect-agent \"scd serialno\" \"learn --force\" /bye"
|
||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||
[ "$TERM_PROGRAM" = "WezTerm" ] && alias ssh="wezterm ssh"
|
||||
test "$TERM" = "xterm-kitty" && alias ssh="kitty +kitten ssh"
|
||||
test "$TERM_PROGRAM" = "WezTerm" && alias ssh="wezterm ssh"
|
||||
abbr vim nvim
|
||||
abbr ls exa
|
||||
abbr ll exa -lh
|
||||
|
@ -13,6 +13,7 @@ abbr gc git commit
|
|||
abbr gap git add -p
|
||||
abbr gps git push
|
||||
abbr gpl git pull
|
||||
test doas && abbr sudo doas
|
||||
|
||||
# Keybinds
|
||||
bind -k nul 'forward-char'
|
||||
|
@ -21,3 +22,7 @@ bind -k nul 'forward-char'
|
|||
set -x -g RUSTUP_HOME $XDG_DATA_HOME/rustup
|
||||
set -x -g CARGO_HOME $XDG_DATA_HOME/cargo
|
||||
set -x -g PATH $CARGO_HOME/bin $RUSTUP_HOME/bin $HOME/.local/bin $PATH
|
||||
|
||||
test fnm && fnm env | source
|
||||
test starship && starship init fish | source
|
||||
test zoxide && zoxide init fish | source
|
||||
|
|
Loading…
Reference in a new issue