mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-04 16:49:22 +01:00
bashrc: Added sleep time to prevent tmux from starting if someone wants to do that and comments.
bash will now wait for three seconds before starting tmux. This gives the user three seconds time to press ctrl + c to prevent tmux from taking action. User might want to do this when SSHing in to somewhere. bashrc has comment to warn to NOT put anything to "tmux area".
This commit is contained in:
parent
9054697bdb
commit
7ddd54f084
4
bashrc
4
bashrc
@ -119,6 +119,10 @@ source ~/.bash_private_aliases
|
||||
# To see time when bash starts :)
|
||||
date
|
||||
|
||||
## DO NOT PUT ANYTHING BELOW THIS LINE OR YOUR CHANGES MAY GET IGNORED BY BASH!
|
||||
|
||||
# Gives three seconds time to press CTRL + C in case you want to prevent action by tmux.
|
||||
|
||||
# Starts tmux always on start of bash, not only on SSH login, and quits from bash when tmux quits. WARNING: I DON'T KNOW WHAT HAPPENS IF YOU DON'T HAVE TMUX INSTALLED!
|
||||
if [[ $TERM != "screen" ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user