Skip to content

Instantly share code, notes, and snippets.

@Ovyerus

Ovyerus/config.fish

Last active Feb 28, 2020
Embed
What would you like to do?
Helpful fish aliases and stuff
# Store normal bins
alias _cat (which cat)
alias _find (which find)
alias _grep (which grep)
alias _ls (which ls)
alias _nano (which nano)
# Alias cool and swag bins
alias cat 'bat'
alias find 'fd'
alias grep 'rg'
alias ls 'exa'
alias nano 'micro'
# Helpful
alias cfg 'nano ~/.config/fish/config.fish'
alias rl 'source ~/.config/fish/config.fish'
alias py 'python3.8'
alias woff2 'woff2_compress'
alias wg-up 'sudo wg-quick up wg0'
alias wg-down 'sudo wg-quick down wg0'
alias lsbin 'ls ~/.local/bin'
function binify
mv $argv ~/.local/bin/
end
function unbinify
mv ~/.local/bin/$argv .
end
function rmbin
rm ~/.local/bin/$argv
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.