Fix issues
This commit is contained in:
parent
ef6c910964
commit
7567ffcd76
3 changed files with 12 additions and 9 deletions
|
@ -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)'
|
|
||||||
|
|
3
.bashrc
3
.bashrc
|
@ -110,4 +110,5 @@ fi
|
||||||
|
|
||||||
if [ -f ~/.bash-fzfrc ] ; then
|
if [ -f ~/.bash-fzfrc ] ; then
|
||||||
. ~/.bash-fzfrc
|
. ~/.bash-fzfrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
8
setup.sh
8
setup.sh
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue