Skip to content

Commit

Permalink
fix: tmux stahp nuking sessions, no dots in name
Browse files Browse the repository at this point in the history
  • Loading branch information
meatcar committed Aug 7, 2020
1 parent 1968bfb commit 24ab017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions home-manager/modules/direnv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
if [ -e ./.envrc ]
echo ".envrc already exists, skipping." >&2
else
echo session_name (basename "$PWD") >> .envrc
# tmux doesn't like dots in session names
echo session_name (basename "$PWD" | tr '.' '-') >> .envrc
echo use nix >> .envrc
direnv allow
end
Expand All @@ -52,7 +53,6 @@
buildInputs = [];
}
"
$EDITOR default.nix
end
'';
};
Expand Down
1 change: 0 additions & 1 deletion home-manager/modules/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ set -g automatic-rename on
set -g automatic-rename-format "#{E:window-status-format}"
set -g set-titles on
set -g set-titles-string "#T"
set -g destroy-unattached on

##############
### DESIGN ###
Expand Down

0 comments on commit 24ab017

Please sign in to comment.