Last active
February 28, 2020 23:25
-
-
Save Ovyerus/921d8a46220964aae92941517ee1ee84 to your computer and use it in GitHub Desktop.
Helpful fish aliases and stuff
This file contains hidden or 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
# 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