Start tmux from zsh

This commit is contained in:
Tim Schubert 2020-12-30 15:13:04 +01:00
parent cbfe1f0d11
commit 6454bd1eeb
No known key found for this signature in database
GPG key ID: 99658A3EB5CD7C13

View file

@ -35,6 +35,10 @@ in {
PROMPT="%F{red}%?%f %F{green}%m%f:%F{blue}%~%f " PROMPT="%F{red}%?%f %F{green}%m%f:%F{blue}%~%f "
RPROMPT='$(git_super_status)' RPROMPT='$(git_super_status)'
#NIX_BUILD_SHELL="${pkgs.zsh}/bin/zsh" #NIX_BUILD_SHELL="${pkgs.zsh}/bin/zsh"
if [ "$TMUX" = "" ]
then
tmux
fi
''; '';
profileExtra = '' profileExtra = ''
''; '';
@ -51,10 +55,11 @@ in {
}; };
}; };
home.packages = [ home.packages = with pkgs; [
pkgs.fzf fzf
pkgs.exa exa
pkgs.zsh-git-prompt zsh-git-prompt
tmux
]; ];
}; };
} }