Created
October 10, 2016 18:06
-
-
Save roipoussiere/3fc32a46a41c47f656fc46429e9a08b6 to your computer and use it in GitHub Desktop.
My fish init config file.
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
##################### | |
### SET VARIABLES ### | |
##################### | |
set PATH /usr/local/bin $HOME/.anaconda3/bin $HOME/scripts/ $PATH | |
set EDITOR nano | |
set JAVA_HOME /usr/lib/jvm/java-7-oracle | |
############### | |
### ALIASES ### | |
############### | |
# ls aliases | |
alias la "ls -AlhX" | |
alias lr "ls -R" | |
# Pipe aliases (end of command) | |
alias H "head" | |
alias T "tail" | |
alias G "grep" | |
alias L "less" | |
# apt-get aliases | |
alias apts "apt-cache search" | |
alias apti "sudo apt-get install" | |
alias aptu "sudo apt-get update" | |
alias aptr "sudo apt-get remove" | |
# Shortcuts for installed programs | |
alias h "howdoi -c -n5" # see https://github.com/gleitz/howdoi | |
alias g "googler" # see https://github.com/jarun/googler | |
# Misc. | |
alias zconf "$EDITOR ~/.zshrc" | |
alias f "find . -name " | |
alias hfind "history | grep " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment