Initial commit
This commit is contained in:
parent
db55f5097f
commit
7d0f9f9f1d
BIN
NerdFont/CaskaydiaCoveNerdFont-Bold.ttf
Normal file
BIN
NerdFont/CaskaydiaCoveNerdFont-Bold.ttf
Normal file
Binary file not shown.
30
script.sh
Normal file
30
script.sh
Normal file
@ -0,0 +1,30 @@
|
||||
echo "Installation des paquets :"
|
||||
echo " - Installation de ZSH"
|
||||
sudo apt update && apt install -y zsh >/dev/null 2>&1
|
||||
echo " - Installation de EXA"
|
||||
sudo apt install -y exa >/dev/null 2>&1
|
||||
echo " - Installation de CAT"
|
||||
sudo apt install -y cat >/dev/null 2>&1
|
||||
echo " - Installation de Micro"
|
||||
sudo apt install -y micro >/dev/null 2>&1
|
||||
echo " - Installation de BTOP"
|
||||
sudo apt install -y btop >/dev/null 2>&1
|
||||
echo " - Installation de ncdu et duf"
|
||||
sudo apt install -y ncdu duf >/dev/null 2>&1
|
||||
echo " - Installation de neofetch"
|
||||
sudo apt install -y neofetch >/dev/null 2>&1
|
||||
touch ~/.hushlogin
|
||||
mkdir ~/.zsh
|
||||
echo " - Installation de zsh-autosuggestion dans .zsh"
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions >/dev/null 2>&1
|
||||
echo " - zsh-syntax-highlighting dans .zsh"
|
||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting >/dev/null 2>&1
|
||||
echo " - Installation de powerlevel10k dans .zsh"
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.zsh/powerlevel10k >/dev/null 2>&1
|
||||
echo ""
|
||||
echo " - Copie des fichiers nécessaires à powerlevel10k :"
|
||||
cp ./p10k.zsh ~/.p10k.zsh
|
||||
cp ./zshrc ~/.zshrc
|
||||
|
||||
|
||||
|
38
zshrc
Normal file
38
zshrc
Normal file
@ -0,0 +1,38 @@
|
||||
### POWER10K
|
||||
# https://github.com/romkatv/powerlevel10k
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
source ~/.zsh/powerlevel10k/powerlevel10k.zsh-theme
|
||||
#typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
|
||||
|
||||
# zsh_autocompletion
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#808080"
|
||||
|
||||
# zsh-syntax-highlighting
|
||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
## ALIAS ##
|
||||
|
||||
# exa
|
||||
alias ls="exa --icons --sort=type" # short, multi-line
|
||||
alias lsa="exa -a --icons --sort=type" # short, multi-line
|
||||
alias ll="exa -1a --icons --sort=type" # list, 1 per line
|
||||
alias ld="ll --icons --sort=type" # ^^^, NOTE: Trying to move to this for alternate hand commands
|
||||
alias la="exa -lagh --icons --sort=type" # list with info
|
||||
alias lt="exa -a --tree --icons --level= --sort=type" # list with tree level 2
|
||||
alias ltf="exa -a --tree --icons --sort=type" # list with tree
|
||||
alias lat="exa -lagh --tree --icons --sort=type" # list with info and tree
|
||||
|
||||
# bat
|
||||
alias cat='batcat --style="header" --paging=never'
|
||||
alias catn='batcat --pager "less -RF"'
|
||||
alias batn='batcat --pager "less -RF"'
|
||||
|
||||
# btop
|
||||
alias top="btop --utf-force"
|
||||
alias btop="btop --utf-force"
|
||||
alias htop="btop --utf-force"
|
||||
|
Loading…
x
Reference in New Issue
Block a user