diff options
-rw-r--r-- | roles/common/files/bashrc | 6 | ||||
-rw-r--r-- | roles/common/files/profrc | 1 | ||||
-rw-r--r-- | roles/common/files/zshrc | 18 |
3 files changed, 9 insertions, 16 deletions
diff --git a/roles/common/files/bashrc b/roles/common/files/bashrc index b86ab60..f1c69a0 100644 --- a/roles/common/files/bashrc +++ b/roles/common/files/bashrc @@ -15,15 +15,15 @@ alias fbx='curl -s $FBX | grep "mise en route" | cut -d " " -f10,11,12,13' alias fbxlog='curl -s $FBX | grep -a "$(date +%x)"' alias wifion='nmcli r wifi on' alias wifioff='nmcli r wifi off' -alias ltx='systemd-run --scope --user tmux ls' -alias atx='systemd-run --scope --user tmux attach -t' +alias ltx='tmux ls' +alias atx='tmux attach -t' alias addkey='torsocks gpg --keyserver hkp://zkaan2xfbuxia2wpf7ofnkbz6r5zdbbvxbunvp5g2iebopbfc4iqmbad.onion --recv-key' alias tssh='torsocks ssh -F $HOME/.ssh/config2' alias tscp='torsocks scp -F $HOME/.ssh/config2' alias trsync='torsocks rsync -e "ssh -F $HOME/.ssh/config2"' alias mnt='mount | column -t' alias tb='nc termbin.com 9999' -alias tmux="systemd-run --scope --user tmux" + # Source global definitions if [ -f /etc/bashrc ]; then diff --git a/roles/common/files/profrc b/roles/common/files/profrc index 6a97efc..3747cb4 100644 --- a/roles/common/files/profrc +++ b/roles/common/files/profrc @@ -17,4 +17,3 @@ grlog=true [ui] compose.editor=emacs -clear.persist_history=true diff --git a/roles/common/files/zshrc b/roles/common/files/zshrc index 42bd0e7..d5882e6 100644 --- a/roles/common/files/zshrc +++ b/roles/common/files/zshrc @@ -30,25 +30,19 @@ alias up='popd' alias pop='popd' alias beep='echo -e "\a"' alias screenoff='xset dpms force off' +alias fbx='curl -s $FBX | grep "mise en route" | cut -d " " -f10,11,12,13' +alias fbxlog='curl -s $FBX | grep -a "$(date +%x)"' alias wifion='nmcli r wifi on' alias wifioff='nmcli r wifi off' -alias ltx='systemd-run --scope --user tmux ls' -alias atx='systemd-run --scope --user tmux attach -t' +alias ltx='tmux ls' +alias atx='tmux attach -t' alias addkey='torsocks gpg --keyserver hkp://zkaan2xfbuxia2wpf7ofnkbz6r5zdbbvxbunvp5g2iebopbfc4iqmbad.onion --recv-key' alias tssh='torsocks ssh -F $HOME/.ssh/config2' alias tscp='torsocks scp -F $HOME/.ssh/config2' alias trsync='torsocks rsync -e "ssh -F $HOME/.ssh/config2"' alias mnt='mount | column -t' -alias lastm='mount | tail -1' -alias npaste='nc termbin.com 9999' -alias mcabber='systemd-run --scope --user tmux -2 new-session -s mcabber -n xmpp "torsocks mcabber"' -###alias poezio="systemd-run --scope --user tmux -2 new-session -s poezio -n jabber 'podman run --userns=keep-id -ti -e TERM --log-driver none -v $HOME/podman/poezio-prod/config:/home/poezio-user/.config/poezio:Z -v $HOME/podman/poezio-prod/data:/home/poezio-user/.local/share/poezio:Z -v $HOME/podman/poezio-prod/proxychains:/home/poezio-user/proxychains:Z docker.io/fantomfp/poezio-omemo:0.14-9.fr.x64'" -alias poezio="podman run --userns=keep-id -ti -e TERM --log-driver none -v $HOME/podman/poezio-prod/config:/home/poezio-user/.config/poezio:Z -v $HOME/podman/poezio-prod/data:/home/poezio-user/.local/share/poezio:Z -v $HOME/podman/poezio-prod/proxychains:/home/poezio-user/proxychains:Z docker.io/fantomfp/poezio-omemo:0.14-9.fr.x64" -##alias profanity='systemd-run --scope --user tmux -2 new-session -s xmpp -n xmpp profanity' -##alias irssi='systemd-run --scope --user tmux -2 new-session -s irssi -n irc irssi' -alias mutt='systemd-run --scope --user tmux -2 new-session -s mutt -n mails mutt' -alias proxy='ssh -T proxy 2>/dev/null' -alias tmux="systemd-run --scope --user tmux" +alias tb='nc termbin.com 9999' + # Define personal variables if [ -f $HOME/bin/setvars ]; then |