improve stuff

This commit is contained in:
Julien Rabier 2020-05-30 14:43:27 +02:00
parent 3b05ecfa66
commit 74dece9db9
3 changed files with 34 additions and 10 deletions

View File

@ -1,18 +1,43 @@
#!/bin/bash
if ! [ -x "$(command -v git)" ]; then
echo "Installation de git"
sudo apt -y install git
echo "git manque et doit être installé"
MISSING+=git
fi
if ! [ -x "$(command -v zsh)" ]; then
echo "Installation de zsh"
sudo apt -y install zsh
echo "zsh manque et doit être installé"
MISSING+=zsh
fi
if ! [ -x "$(command -v nvim)" ]; then
echo "Installation de neovim"
sudo apt -y install neovim python3-venv
echo "neovim manque et doit être installé"
MISSING+=neovim python3-venv
fi
if ! [ -x "$(command -v exa)" ]; then
echo "exa manque et doit être installé"
MISSING+=exa
fi
if ! [ -x "$(command -v fdfind)" ]; then
echo "fdfind manque et doit être installé"
MISSING+=fdfind
fi
if ! [ -x "$(command -v fzf)" ]; then
echo "fzf manque et doit être installé"
MISSING+=fzf
fi
if ! [ -x "$(command -v ripgrep)" ]; then
echo "ripgrep manque et doit être installé"
MISSING+=ripgrep
fi
if ! [ MISSING = "" ]; then
Installation de : $MISSING
sudo apt -y install $MISSING
fi
if ! [ -x "$HOME/.bin/starship" ]; then

View File

@ -2,8 +2,6 @@ alias vim="nvim"
alias vi="nvim"
alias ta='tmux a'
alias ls='ls --color=auto'
alias dir='ls --color=auto --format=vertical'
alias vdir='ls --color=auto --format=long'
alias la='ls -A'
alias l='clear'
alias lh='ls -lah'
@ -11,9 +9,7 @@ alias grep='grep --color'
alias rgrep='rgrep --color'
alias zz='zcat $1 | most'
alias ccat="cat -p"
alias ga="git add -p"
alias gc="git commit"
alias gd="git diff"
alias gp="git pull"
alias gpp="git pp"
alias gs="git status"

View File

@ -3,3 +3,6 @@ zdharma/history-search-multi-word
zsh-users/zsh-completions
#zsh-users/zsh-syntax-highlighting
t413/zsh-background-notify
wfxr/forgit
Aloxaf/fzf-tab
reegnz/jq-zsh-plugin