From 7edfe0461181e38d0fc9eb5cd93ee8f61e8cc05b Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Wed, 20 Apr 2022 18:29:08 +0200 Subject: [PATCH] Dasible auto start tmux --- .zshrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index ad65656..a21bd65 100644 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,4 @@ - ### EXPORT ### +### EXPORT ### export EDITOR='nvim' export VISUAL='nvim' export TERMINAL='alacritty' @@ -113,14 +113,16 @@ bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down # Auto open tmux session -if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then - exec tmux -fi +# if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then +# exec tmux +# fi # Aliases alias jshell=/usr/lib/jvm/java-17-openjdk/bin/jshell alias clear='clear && ufetch' alias cls='/usr/bin/clear' +alias JCmusIntegrationWithDiscord='/usr/lib/jvm/jdk-18/bin/java -jar /media/Work_files/JCmusIntegrationWithDiscord/out/artifacts/JCmusIntegrationWithDiscord_jar/JCmusIntegrationWithDiscord.jar' +alias cmus='JCmusIntegrationWithDiscord --link &>/dev/null & cmus' export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"