Use a simpler tmux alias
This commit is contained in:
parent
35eace2649
commit
e225c5250f
1 changed files with 1 additions and 10 deletions
|
@ -258,6 +258,7 @@ alias sdk-gnome="flatpak run --command=/bin/bash --share=network --filesystem=ho
|
||||||
alias sl="ls -r"
|
alias sl="ls -r"
|
||||||
alias streamenc="openssl aes-256-cbc -pbkdf2 -in - -out - -e"
|
alias streamenc="openssl aes-256-cbc -pbkdf2 -in - -out - -e"
|
||||||
alias streamdec="openssl aes-256-cbc -pbkdf2 -in - -out - -d"
|
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 txt2pdf="soffice --infilter='Text (encoded):UTF8,,Berkeley Mono,en-GB' --convert-to pdf"
|
||||||
alias wgr=wordgrinder
|
alias wgr=wordgrinder
|
||||||
alias ytmp3="youtube-dl -q -x --audio-format=mp3"
|
alias ytmp3="youtube-dl -q -x --audio-format=mp3"
|
||||||
|
@ -358,16 +359,6 @@ emacsro () {
|
||||||
emacs "$1" -f view-mode
|
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 () {
|
usermotd () {
|
||||||
# OS (kernel) name and version in reverse video.
|
# OS (kernel) name and version in reverse video.
|
||||||
printf '\033[7m%s\033[0m\n' "$(uname -sr)"
|
printf '\033[7m%s\033[0m\n' "$(uname -sr)"
|
||||||
|
|
Loading…
Reference in a new issue