Compare commits
3 commits
811090cd5f
...
58ad74ffca
Author | SHA1 | Date | |
---|---|---|---|
Julien Oculi | 58ad74ffca | ||
Julien Oculi | 1fba32b2ad | ||
Julien Oculi | 36e4036fd9 |
|
@ -28,7 +28,9 @@ nala install -y \
|
||||||
fzf \
|
fzf \
|
||||||
tmux \
|
tmux \
|
||||||
tmate \
|
tmate \
|
||||||
zoxide \
|
|
||||||
|
# Install zoxide through webinstall (see zoxide install instruction on debian)
|
||||||
|
curl -sS https://webi.sh/zoxide | sh
|
||||||
|
|
||||||
# Install really necessary utilities
|
# Install really necessary utilities
|
||||||
echo "[server_config] > Installing required utilities (really necessary)"
|
echo "[server_config] > Installing required utilities (really necessary)"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
|
# Setup portfolio server service
|
||||||
|
cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system
|
||||||
|
|
||||||
# Pull portfolio server sources
|
# Pull portfolio server sources
|
||||||
cd /srv/portfolio
|
cd /srv/portfolio
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
# Setup portfolio server service
|
|
||||||
cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system
|
|
||||||
|
|
||||||
# Start portfolio server
|
# Start portfolio server
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable portfolio
|
systemctl enable portfolio
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
# Setup zsh
|
# Setup zsh
|
||||||
cp -a ./zsh/zsh/. /root
|
cp -a ./zsh/zsh/. /root
|
||||||
chsh -s /usr/bin/zsh
|
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
|
||||||
|
|
|
@ -41,6 +41,9 @@ alias ls="eza --hyperlink --icons"
|
||||||
alias ll="ls --header --git -l -a"
|
alias ll="ls --header --git -l -a"
|
||||||
alias lt="ll -T -I '.?*|node_module|dist'"
|
alias lt="ll -T -I '.?*|node_module|dist'"
|
||||||
|
|
||||||
|
# Alias batcat as bat if needed
|
||||||
|
alias bat="batcat"
|
||||||
|
|
||||||
# Replace cat with bat
|
# Replace cat with bat
|
||||||
alias cat="bat --theme=gruvbox-dark"
|
alias cat="bat --theme=gruvbox-dark"
|
||||||
|
|
||||||
|
@ -57,3 +60,5 @@ alias z=zoxide
|
||||||
meteo() {
|
meteo() {
|
||||||
curl "wttr.in/${1:-"Gradignan"}?lang=fr"
|
curl "wttr.in/${1:-"Gradignan"}?lang=fr"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
|
Loading…
Reference in a new issue