Created
April 8, 2019 12:37
-
-
Save cbrevik/68c9a792fff0c488154f1d6c3ede911e to your computer and use it in GitHub Desktop.
Fishshell config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# just the most essential stuff | |
abbr ga 'git add' | |
abbr gs 'git status' | |
abbr gb 'git branch' | |
abbr gcom 'git commit' | |
abbr gd 'git difftool --no-prompt' | |
abbr gdd 'git difftool --dir-dif' | |
abbr gco 'git checkout' | |
abbr gpr 'git pull --rebase' | |
abbr gr 'git rebase' | |
abbr rn 'react-native' | |
abbr dm 'docker-machine' | |
abbr mk 'minikube' | |
abbr ku 'kubectl' | |
abbr duh 'du -sh' | |
abbr y 'yarn' | |
abbr j 'jump' | |
function paste-into-file | |
if test -d $argv | |
echo "No argument provided" | |
else | |
if not test -e $argv[1] | |
touch $argv[1] | |
else | |
echo "" >> $argv[1] | |
end | |
pbpaste >> $argv[1] | |
end | |
end | |
abbr pif 'paste-into-file' | |
function reload | |
source ~/.config/fish/config.fish | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment