Fix issues

This commit is contained in:
matt1432 2022-12-28 15:38:02 -05:00
parent ef6c910964
commit 7567ffcd76
3 changed files with 12 additions and 9 deletions

View file

@ -1,15 +1,15 @@
alias dcpull='docker-compose pull && docker-compose down && docker-compose up -d'
alias dcpull='docker compose pull && docker compose down && docker compose up -d'
alias dprune='docker image prune -f'
alias dcrestart='docker-compose down && docker-compose up -d'
alias dcrestart='docker compose down && docker compose up -d'
alias tup='sudo tailscale up --login-server https://headscale.nelim.org'
alias ncht='docker exec -it --user www-data app-server php occ maintenance:update:htaccess'
alias serv='ssh -p 6768 dock@10.0.0.121'
alias pve='ssh root@10.0.0.121'
alias mc='ssh mc@10.0.0.124'
alias dock='ssh -p 6768 dock@10.0.0.122'
alias oksys='ssh matt@10.0.0.213'
alias router='ssh root@10.0.0.2'
alias ls='ls -lah --color=auto'
alias autorm='yay -Rc $(yay -Qdt | cut -d " " -f1)'

View file

@ -111,3 +111,4 @@ fi
if [ -f ~/.bash-fzfrc ] ; then
. ~/.bash-fzfrc
fi

View file

@ -4,12 +4,14 @@ ln ./.bash* /root
ln ./.bash* ../../
ln ./.profile ../../
rm /root/.bashrc
rm /root/.bashrc /root/.profile
cp .bashrc /root
cp .profile /root
cat << EOF >> /root/.bashrc
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
EOF
ln ./nanorc /etc/nanorc
apt install fzf -y
echo "Install fzf pls"