Last active
September 30, 2020 22:55
-
-
Save romanwrites/81ed87d8f6ce41ae650b598abf5f826d to your computer and use it in GitHub Desktop.
My zshrc config, aliases and some features
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
bindkey -M menuselect '^M' .accept-line | |
# Always show colorised path in shell | |
% PROMPT='%~ %# ' | |
export PS1="%F%F{3}%3d%f %F{6}%m%#%f " | |
# Load Homebrew config script | |
source $HOME/.brewconfig.zsh | |
# Useful aliases | |
alias chrome='open -a "Google Chrome"' | |
alias code='open -a "Visual Studio Code"' | |
alias src='source ~/.zshrc' | |
alias zshrc='vim ~/.zshrc' | |
alias l='ls -lah' | |
alias t='tree -L 2' | |
alias k='kubectl $@' | |
# Ecole 42 aliases | |
alias norm='/Users/mkristie/.scripts/colorised_norm.sh' | |
alias g='cd /Users/mkristie/goinfre' | |
alias intra='open -a "Google Chrome" https://profile.intra.42.fr/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment