fish
This commit is contained in:
parent
e4cfdbe37e
commit
ee15a48829
2 changed files with 11 additions and 10 deletions
File diff suppressed because one or more lines are too long
|
@ -1,25 +1,26 @@
|
|||
set -U fish_greeting
|
||||
|
||||
alias exa="exa --group-directories-first"
|
||||
alias lsd="lsd --group-directories-first"
|
||||
alias newkey="gpg-connect-agent \"scd serialno\" \"learn --force\" /bye"
|
||||
alias usepodman="set -x -g DOCKER_HOST unix://(podman info --format '{{.Host.RemoteSocket.Path}}')"
|
||||
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 -l
|
||||
abbr la exa -la
|
||||
abbr gs git status
|
||||
abbr gc git commit
|
||||
abbr gap git add -p
|
||||
abbr gps git push
|
||||
abbr gpl git pull
|
||||
test (command -v doas) && abbr sudo doas
|
||||
type -q nvim && abbr vim nvim
|
||||
type -q doas && abbr sudo doas
|
||||
if type -q lsd
|
||||
abbr ls lsd
|
||||
abbr ll lsd -l
|
||||
abbr la lsd -la
|
||||
abbr llg lsd -lg
|
||||
end
|
||||
|
||||
# Environment variables
|
||||
set -x -g RUSTUP_HOME $XDG_DATA_HOME/rustup
|
||||
set -x -g CARGO_HOME $HOME/.cargo
|
||||
set -x -g PATH $CARGO_HOME/bin $RUSTUP_HOME/bin $HOME/.local/bin $PATH
|
||||
|
||||
test (command -v zoxide) && zoxide init fish | source
|
||||
type -q zoxide && zoxide init fish | source
|
||||
test -e ~/.asdf && source ~/.asdf/asdf.fish
|
||||
|
|
Loading…
Reference in a new issue