further edited zshrc

This commit is contained in:
Adrien Luxey-Bitri 2022-10-02 20:36:58 +02:00
parent c6c0083e69
commit 5a10b95d43

33
zshrc
View file

@ -13,7 +13,6 @@ export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster" ZSH_THEME="agnoster"
# Uncomment the following line to use case-sensitive completion. # Uncomment the following line to use case-sensitive completion.
#CASE_SENSITIVE="true"
CASE_SENSITIVE="false" CASE_SENSITIVE="false"
# Uncomment the following line to use hyphen-insensitive completion. Case # Uncomment the following line to use hyphen-insensitive completion. Case
@ -62,6 +61,14 @@ source $ZSH/oh-my-zsh.sh
# User configuration # User configuration
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
alias o="xdg-open > /dev/null 2>&1"
alias awsdf="aws --endpoint-url https://garage.deuxfleurs.fr"
alias sshfs_rasp="sshfs coloc@192.168.1.50:/hdd/shared/ /media/adrien/rasp -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3"
# export MANPATH="/usr/local/man:$MANPATH" # export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment # You may need to manually set your language environment
@ -73,32 +80,18 @@ export EDITOR='vim'
# Hide username by setting DEFAULT_USER # Hide username by setting DEFAULT_USER
#export DEFAULT_USER=$USER #export DEFAULT_USER=$USER
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags # Compilation flags
# export ARCHFLAGS="-arch x86_64" # export ARCHFLAGS="-arch x86_64"
# ssh # ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id" # export SSH_KEY_PATH="~/.ssh/rsa_id"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
alias o="xdg-open > /dev/null 2>&1"
alias awsdf="aws --endpoint-url https://garage.deuxfleurs.fr"
alias sshfs_rasp="sshfs coloc@192.168.1.50:/hdd/shared/ /media/adrien/rasp -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3"
# Set Go environment # Set Go environment
export PATH="$PATH:/usr/local/go/bin" #export PATH="$PATH:/usr/local/go/bin"
export GOPATH=$HOME/goroot #export GOPATH=$HOME/goroot
if [ -d "$GOPATH/bin" ] ; then #if [ -d "$GOPATH/bin" ] ; then
PATH="$PATH:$GOPATH/bin" # PATH="$PATH:$GOPATH/bin"
fi #fi
export PATH=$PATH:$HOME/.local/bin export PATH=$PATH:$HOME/.local/bin
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/bin" ] ; then