diff --git a/home/user/.config/zsh/.zshrc b/home/user/.config/zsh/.zshrc index 09ba51c..67e0933 100644 --- a/home/user/.config/zsh/.zshrc +++ b/home/user/.config/zsh/.zshrc @@ -14,6 +14,12 @@ then exec tmux -N -L "${USER}" new-session fi exec tmux -N -L "${USER}" new-session -A +elif \ + [ -n "${TERMUX_VERSION}" ] && \ + command -v tmux &>/dev/null && \ + [ -z "${TMUX}" ] +then + exec tmux new-session fi if [ -f "${ZDOTDIR}/sourcer" ]; then diff --git a/home/user/.config/zsh/aliases b/home/user/.config/zsh/aliases index 79db5df..d6c532e 100644 --- a/home/user/.config/zsh/aliases +++ b/home/user/.config/zsh/aliases @@ -145,6 +145,7 @@ alias nfe='note fe' alias nfg='note fg' alias ng='note git' alias sn='mdpreview --browser --host localhost --port 0 "$(note --prefix)"' +alias nr="trynafail note random" # Cargo