diff --git a/roles/home-cli/files/profile b/roles/home-cli/files/profile index fed3a18..f2fc332 100644 --- a/roles/home-cli/files/profile +++ b/roles/home-cli/files/profile @@ -258,6 +258,7 @@ alias sdk-gnome="flatpak run --command=/bin/bash --share=network --filesystem=ho alias sl="ls -r" alias streamenc="openssl aes-256-cbc -pbkdf2 -in - -out - -e" alias streamdec="openssl aes-256-cbc -pbkdf2 -in - -out - -d" +alias tm="tmux new-session -A" alias txt2pdf="soffice --infilter='Text (encoded):UTF8,,Berkeley Mono,en-GB' --convert-to pdf" alias wgr=wordgrinder alias ytmp3="youtube-dl -q -x --audio-format=mp3" @@ -358,16 +359,6 @@ emacsro () { emacs "$1" -f view-mode } -# Try to attach to an existing tmux session, else create a new one. -tm () { - if tmux list-sessions > /dev/null 2>&1 - then - tmux attach-session - else - tmux new-session - fi -} - usermotd () { # OS (kernel) name and version in reverse video. printf '\033[7m%s\033[0m\n' "$(uname -sr)"