Skip to content

Instantly share code, notes, and snippets.

@maylisdoucet
Last active March 12, 2018 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maylisdoucet/c623d61453b61a6f9d0efb761966355c to your computer and use it in GitHub Desktop.
Save maylisdoucet/c623d61453b61a6f9d0efb761966355c to your computer and use it in GitHub Desktop.
#1 - Instataller zsh sur mac :brew install zsh
#2 - Remplacer les fichiers de configurations
# maylisdoucet$ cd ~ /config
# maylisdoucet$ vim ~/.zshrc
#3 - Aller dans https://explainshell.com/explain?cmd=bash .
# Taper "Bash" dans la barre de recherche.
# Afficher la signification trouver : "GNU Bourne-Again SHell"
#4 - Aller dans le fichier .bashrc où se trouve PATH :
# maylisdoucet$ cd ~ /.bashrc
# cat ".bashrc_profile"
# PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
#5 - Créer un allias
# sur mac, installer Fanny et osx-cpu-temp. Puis cd osx-cpu-temp-master/ puis make.
# chercher où se trouve l'information avec whereis osx-cpu-temp et ajouter l'alias sur la configuration de zsh.
#6 - Aller dans VIM et ajouter les élements de configuration dans le shell ZSH :
#vim ~/.zshrc
echo BASH means GNU Bourne-Again SHell
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
alias temp = cat /Users/maylisdoucet/Desktop/osx-cpu-temp-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment