dotfiles/.config/fish/config.fish

45 lines
891 B
Fish
Raw Normal View History

2022-07-17 10:14:11 -04:00
eval (/opt/homebrew/bin/brew shellenv)
2023-06-30 10:19:04 -04:00
source ~/.asdf/asdf.fish
2022-07-17 10:14:11 -04:00
if status is-interactive
fish_vi_key_bindings
zoxide init fish | source
if not set -q TMUX
set -g TMUX tmux new-session -d -s default
eval $TMUX
tmux attach-session -d -t default
end
end
2023-08-31 13:20:54 -04:00
set -x EDITOR nvim
abbr -a g git
2023-04-05 14:38:16 -04:00
abbr -a ga git add
2023-08-29 12:24:22 -04:00
abbr -a gb git branch
2023-04-05 14:38:16 -04:00
abbr -a gc git commit
abbr -a gcb git checkout -b
abbr -a gco git checkout
abbr -a gd git diff
abbr -a gf git fetch
2023-05-01 12:32:57 -04:00
abbr -a gp git push
abbr -a gP git push --force-with-lease
abbr -a gpl git pull
abbr -a gplr git pull --rebase
abbr -a gr git rebase
2023-04-05 14:38:16 -04:00
abbr -a grr git rebase --continue
abbr -a gst git status
2023-04-19 15:21:56 -04:00
abbr -a gca git commit -a
abbr -a fug nvim +Git +only
2023-06-30 10:19:04 -04:00
abbr -a nr npm run
2023-08-31 13:20:54 -04:00
abbr -a y yarn
abbr -a yb yarn bootstrap
abbr -a ym yarn migrate
abbr -a yf yarn format-since
abbr -a mux tmuxinator