about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-11-14T17·29-0800
committerclbot <clbot@tvl.fyi>2022-11-14T17·31+0000
commitc725838ab9ebc46c901c80ee659af267f969b21d (patch)
treef3df5cf2752492ee06d95b39902766e723daf8a4
parent393e5f9fa55aed8a7279edc2c1eac135f27d5138 (diff)
feat(wpcarro/fish): More fish aliases r/5283
:)

Change-Id: I32a506343a408df8c33dd11392b3b4389a297b64
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7296
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
-rw-r--r--users/wpcarro/dotfiles/config.fish9
1 files changed, 8 insertions, 1 deletions
diff --git a/users/wpcarro/dotfiles/config.fish b/users/wpcarro/dotfiles/config.fish
index 7a73208a30dc..c71d4c028e61 100644
--- a/users/wpcarro/dotfiles/config.fish
+++ b/users/wpcarro/dotfiles/config.fish
@@ -8,17 +8,24 @@ alias ls 'exa --sort=type'
 alias ll 'exa --long --sort=type'
 alias la 'exa --long --all --sort=type'
 alias gcan 'git commit --amend --no-edit'
+alias gco 'git checkout'
 alias gd 'git diff'
 alias gds 'git diff --staged'
 alias glp 'git log --pretty --oneline --graph'
 alias gpf 'git push --force-with-lease'
 alias gsh 'git show HEAD'
 alias gst 'git status'
+alias gprom 'git pull --rebase origin main'
+alias gproc 'git pull --rebase origin canon'
 alias edit 'emacsclient -n'
 # fs navigation
+alias h 'cd /hadrian'
 alias d 'cd /depot'
-alias w 'cd /depot/users/wpcarro'
+alias hw 'cd /hadrian/users/wpcarro'
+alias dw 'cd /depot/users/wpcarro'
 alias sc 'systemctl'
+alias ef 'edit ~/.config/fish/config.fish'
+alias sf 'source ~/.config/fish/config.fish'
 
 # environment variables
 set -gx EDITOR "emacsclient"