Added some aliases

This commit is contained in:
Gabriel Brown 2024-11-21 21:59:48 -06:00
parent 23cca89ee1
commit f5274dee16
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,14 @@
[Unit]
Description=Ollama for Gib AI Website
After=network-online.target
[Service]
ExecStart=/bin/bash -lc 'OLLAMA_HOST=0.0.0.0:4242 /usr/local/bin/ollama serve'
User=ollama
Group=ollama
Restart=always
RestartSec=3
Environment="PATH=/home/gib/.bun/bin:/home/gib/.bun/bin:/home/gib/.bun/bin:/home/gib/.bun/bin:/home/gib/.local/bin:/home/gib/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/gib/.composer/vendor/bin:/home/gib/.dotnet/tools:/home/gib/.local/share/JetBrains/Toolbox/scripts:/home/gib/.local/share/JetBrains/Toolbox/scripts:/home/gib/.local/share/JetBrains/Toolbox/scripts"
[Install]
WantedBy=default.target

View File

@ -9,7 +9,6 @@ alias cdcode="cd ~/Documents/Code"
alias cdsun="cd ~/.local/share/sunhat"
alias rnr="ranger"
alias startsunshine="systemctl --user restart sunshine.service"
alias n.="nvim ."
alias sourcerc="source ~/.bashrc"
alias john="~/.local/share/sunhat/packages/JohnTheRipper/run/john"
@ -27,7 +26,10 @@ alias ....='cd ../../..'
# Tools
alias n='nvim'
alias n.="nvim ."
alias nlc="nvim lc"
alias g='git'
alias watchsmi="watch -n 3 nvidia-smi"
# Git
alias gcm='git commit -m'