[tmux] shells under tmux start with SHLVL 1
This is necessary to make the visibility of nested shells (introduced in 30c5b52) work correctly when running inside tmux.
This commit is contained in:
parent
e449444252
commit
4d8fc0e810
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ set -g status-justify centre
|
||||||
set -g status-left '@#h ⧉ #S' # @host ⧉session
|
set -g status-left '@#h ⧉ #S' # @host ⧉session
|
||||||
set -g status-right '%Y-%m-%d %a %H:%M' # date, weekday, time
|
set -g status-right '%Y-%m-%d %a %H:%M' # date, weekday, time
|
||||||
|
|
||||||
|
# Make sure we always start at 1, even when invoked from a wrapper script
|
||||||
|
set-environment -g SHLVL 1
|
||||||
|
|
||||||
#
|
#
|
||||||
# Colors
|
# Colors
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue