From c725838ab9ebc46c901c80ee659af267f969b21d Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 14 Nov 2022 09:29:05 -0800 Subject: feat(wpcarro/fish): More fish aliases :) Change-Id: I32a506343a408df8c33dd11392b3b4389a297b64 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7296 Autosubmit: wpcarro Tested-by: BuildkiteCI Reviewed-by: wpcarro --- users/wpcarro/dotfiles/config.fish | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'users/wpcarro') 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" -- cgit 1.4.1