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 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 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 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 oksys='ssh matt@10.0.0.213'
alias router='ssh root@10.0.0.2' alias router='ssh root@10.0.0.2'
alias ls='ls -lah --color=auto' alias ls='ls -lah --color=auto'
alias autorm='yay -Rc $(yay -Qdt | cut -d " " -f1)'

View file

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

View file

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