update dotfiles

master
sundowndev 2021-06-22 12:23:36 +02:00
parent b9ff801bac
commit b7bbbbfbf2
4 changed files with 19 additions and 66 deletions

2
bashrc
View File

@ -119,3 +119,5 @@ fi
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

View File

@ -26,13 +26,13 @@ ln -fs ${BASE}/gitignore ${HOME}/.gitignore
# fi
# VSCode or VSCodium
if [ -d "${HOME}/.config/Code/User" ]; then
ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/Code/User/settings.json
elif [ -d "${HOME}/.config/VSCodium/User" ]; then
ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/VSCodium/User/settings.json
elif [ -d "${HOME}/.config/Codium/User" ]; then
ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/VSCodium/User/settings.json
fi
#if [ -d "${HOME}/.config/Code/User" ]; then
# ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/Code/User/settings.json
#elif [ -d "${HOME}/.config/VSCodium/User" ]; then
# ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/VSCodium/User/settings.json
#elif [ -d "${HOME}/.config/Codium/User" ]; then
# ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/VSCodium/User/settings.json
#fi
# Git user config
git config --global user.email "raphael@crvx.fr"

View File

@ -1,47 +0,0 @@
{
"window.zoomLevel": 0,
"workbench.colorTheme": "Material Theme High Contrast",
"python.jediEnabled": false,
"editor.tabSize": 2,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur",
},
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.quoteStyle": "single",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.jsxSingleQuote": true,
"prettier.singleQuote": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.associations": {
"*.vue": "vue"
},
"editor.fontFamily": "'Hack', monospace",
"terminal.integrated.fontFamily": "monospace",
"editor.multiCursorModifier": "ctrlCmd",
"prettier.arrowParens": "always",
"workbench.statusBar.feedback.visible": false,
"vetur.format.enable": true,
"vetur.format.defaultFormatter.html": "prettyhtml",
"vetur.format.defaultFormatter.css": "prettier",
"vetur.format.defaultFormatter.postcss": "prettier",
"vetur.format.defaultFormatter.scss": "prettier",
"vetur.format.defaultFormatter.less": "prettier",
"vetur.format.defaultFormatter.stylus": "stylus-supremacy",
"vetur.format.defaultFormatter.ts": "prettier",
"vetur.format.options.tabSize": 2,
"vetur.format.options.useTabs": false,
"eslint.enable": true,
"eslint.run": "onType",
"files.autoSave": "onWindowChange",
"prettier.eslintIntegration": true,
"prettier.trailingComma": "es5",
"prettier.tslintIntegration": true
}

22
zshrc
View File

@ -105,25 +105,23 @@ source $ZSH/oh-my-zsh.sh
#autoload -U promptinit; promptinit
#prompt pure
alias code='codium'
alias python='/usr/bin/python3'
alias restart='sudo reboot'
alias shutdown='sudo halt'
alias apt-get='sudo apt-get'
alias ll='ls -lv --group-directories-first'
alias mkdir='mkdir -p'
#alias fuck='sudo'
#alias root='sudo su -'
#alias sp='source ~/.bash_profile'
#alias nerd='vim +NERDTree'
#alias cpdir='cp -a'
#alias ds='dirs -v'
#alias df='df -kTh'
#alias gitags='ctags -R -f ./.git/tags .'
#alias bn='git checkout -B'
#alias b='git branch'
#alias gc='git checkout'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# add Go bins to the PATH
export PATH=$PATH:$HOME/go/bin
export PATH="$HOME/.dctlenv/bin:$PATH"
export DCTL_NO_VERSION_CHECK=false
export DCTL_DISABLE_TELEMETRY=true
export AWS_PROFILE=driftctlrole
export PATH="$HOME/.tfenv/bin:$PATH"