Compare commits

..

3 commits

4 changed files with 17 additions and 4 deletions

View file

@ -28,7 +28,9 @@ nala install -y \
fzf \
tmux \
tmate \
zoxide \
# Install zoxide through webinstall (see zoxide install instruction on debian)
curl -sS https://webi.sh/zoxide | sh
# Install really necessary utilities
echo "[server_config] > Installing required utilities (really necessary)"

View file

@ -1,10 +1,10 @@
# Setup portfolio server service
cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system
# Pull portfolio server sources
cd /srv/portfolio
git pull origin main
# Setup portfolio server service
cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system
# Start portfolio server
systemctl daemon-reload
systemctl enable portfolio

View file

@ -1,3 +1,9 @@
# Setup zsh
cp -a ./zsh/zsh/. /root
chsh -s /usr/bin/zsh
# Install zsh-autosuggestions plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Install zsh-syntax-highlighting
nala install -y zsh-syntax-highlighting

View file

@ -41,6 +41,9 @@ alias ls="eza --hyperlink --icons"
alias ll="ls --header --git -l -a"
alias lt="ll -T -I '.?*|node_module|dist'"
# Alias batcat as bat if needed
alias bat="batcat"
# Replace cat with bat
alias cat="bat --theme=gruvbox-dark"
@ -57,3 +60,5 @@ alias z=zoxide
meteo() {
curl "wttr.in/${1:-"Gradignan"}?lang=fr"
}
eval "$(zoxide init zsh)"