improve stuff
This commit is contained in:
parent
3b05ecfa66
commit
74dece9db9
@ -1,18 +1,43 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if ! [ -x "$(command -v git)" ]; then
|
if ! [ -x "$(command -v git)" ]; then
|
||||||
echo "Installation de git"
|
echo "git manque et doit être installé"
|
||||||
sudo apt -y install git
|
MISSING+=git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -x "$(command -v zsh)" ]; then
|
if ! [ -x "$(command -v zsh)" ]; then
|
||||||
echo "Installation de zsh"
|
echo "zsh manque et doit être installé"
|
||||||
sudo apt -y install zsh
|
MISSING+=zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -x "$(command -v nvim)" ]; then
|
if ! [ -x "$(command -v nvim)" ]; then
|
||||||
echo "Installation de neovim"
|
echo "neovim manque et doit être installé"
|
||||||
sudo apt -y install neovim python3-venv
|
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
|
fi
|
||||||
|
|
||||||
if ! [ -x "$HOME/.bin/starship" ]; then
|
if ! [ -x "$HOME/.bin/starship" ]; then
|
||||||
|
|||||||
@ -2,8 +2,6 @@ alias vim="nvim"
|
|||||||
alias vi="nvim"
|
alias vi="nvim"
|
||||||
alias ta='tmux a'
|
alias ta='tmux a'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias dir='ls --color=auto --format=vertical'
|
|
||||||
alias vdir='ls --color=auto --format=long'
|
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='clear'
|
alias l='clear'
|
||||||
alias lh='ls -lah'
|
alias lh='ls -lah'
|
||||||
@ -11,9 +9,7 @@ alias grep='grep --color'
|
|||||||
alias rgrep='rgrep --color'
|
alias rgrep='rgrep --color'
|
||||||
alias zz='zcat $1 | most'
|
alias zz='zcat $1 | most'
|
||||||
alias ccat="cat -p"
|
alias ccat="cat -p"
|
||||||
alias ga="git add -p"
|
|
||||||
alias gc="git commit"
|
alias gc="git commit"
|
||||||
alias gd="git diff"
|
|
||||||
alias gp="git pull"
|
alias gp="git pull"
|
||||||
alias gpp="git pp"
|
alias gpp="git pp"
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
|
|||||||
@ -3,3 +3,6 @@ zdharma/history-search-multi-word
|
|||||||
zsh-users/zsh-completions
|
zsh-users/zsh-completions
|
||||||
#zsh-users/zsh-syntax-highlighting
|
#zsh-users/zsh-syntax-highlighting
|
||||||
t413/zsh-background-notify
|
t413/zsh-background-notify
|
||||||
|
wfxr/forgit
|
||||||
|
Aloxaf/fzf-tab
|
||||||
|
reegnz/jq-zsh-plugin
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user