mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 21:45:30 +00:00
autostart tmux
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# autostart tmux if possible
|
||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
exec tmux
|
||||
fi
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
@@ -17,6 +22,8 @@ LOCAL_ENV_FILE="$HOME/.environment.local"
|
||||
ALIAS_FILE="$HOME/.aliases"
|
||||
LOCAL_ALIAS_FILE="$HOME/.aliases.local"
|
||||
|
||||
|
||||
|
||||
source $ENV_FILE
|
||||
if [ -f $LOCAL_ENV_FILE ]; then
|
||||
source $LOCAL_ENV_FILE
|
||||
@@ -43,5 +50,3 @@ export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
[ -s "$HOME/.cargo/env" ] && \. "$HOME/.cargo/env" # Load cargo env
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user