Compare commits
No commits in common. "58ad74ffca692121e635f3ff74bd06b58d425e4a" and "811090cd5f38eb1b82ba189e4d5c65247724871b" have entirely different histories.
58ad74ffca
...
811090cd5f
|
@ -28,9 +28,7 @@ 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,9 +1,3 @@
|
||||||
# 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,9 +41,6 @@ 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"
|
||||||
|
|
||||||
|
@ -60,5 +57,3 @@ 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