screenrc - v1.8 - Behavior updated
screen_profile (heron) - v0.2 - Default tab updated
See Versions section of each file for details
| ... | ... |
@@ -1,8 +1,8 @@ |
| 1 | 1 |
# Title: .screen_profile |
| 2 | 2 |
# Author: Frédéric CHEVALIER <f15.chevalier@gmail.com> |
| 3 |
-# Version: 0.1 |
|
| 3 |
+# Version: 0.2 |
|
| 4 | 4 |
# Created in: 2014-09-30 |
| 5 |
-# Modified in: 2015-05-27 |
|
| 5 |
+# Modified in: 2020-03-04 |
|
| 6 | 6 |
|
| 7 | 7 |
|
| 8 | 8 |
|
| ... | ... |
@@ -19,6 +19,7 @@ |
| 19 | 19 |
# Versions # |
| 20 | 20 |
#==========# |
| 21 | 21 |
|
| 22 |
+# v0.2 - 2020-03-04: replacement of the qrsh tab with htop |
|
| 22 | 23 |
# v0.1 - 2015-05-27: modification of qrsh tab due to .bash_profile update |
| 23 | 24 |
# v0.0 - 2014-09-30: creation |
| 24 | 25 |
|
| ... | ... |
@@ -30,6 +31,6 @@ |
| 30 | 31 |
|
| 31 | 32 |
# Start screen with specific tabs |
| 32 | 33 |
screen -t bash |
| 33 |
-screen -t qrsh 5 bash --login -ic "pqrsh" |
|
| 34 |
+screen -t htop 99 bash --login -ic "htop" |
|
| 34 | 35 |
|
| 35 | 36 |
select 0 |
| ... | ... |
@@ -1,8 +1,8 @@ |
| 1 | 1 |
# Title: .screenrc |
| 2 | 2 |
# Author: Frédéric CHEVALIER <f15.chevalier@gmail.com> |
| 3 |
-# Version: 1.7 |
|
| 3 |
+# Version: 1.8 |
|
| 4 | 4 |
# Created in: 2014-08-11 |
| 5 |
-# Modified in: 2016-07-18 |
|
| 5 |
+# Modified in: 2020-03-04 |
|
| 6 | 6 |
|
| 7 | 7 |
|
| 8 | 8 |
|
| ... | ... |
@@ -10,6 +10,7 @@ |
| 10 | 10 |
# Versions # |
| 11 | 11 |
#==========# |
| 12 | 12 |
|
| 13 |
+# v1.8 - 2020-03-04: specific behavior in conda env added / new tab creation improved |
|
| 13 | 14 |
# v1.7 - 2016-07-18: ctrl-up and ctrl-down binding removed due to conflict with .inputrc |
| 14 | 15 |
# v1.6 - 2015-08-17: session name added to caption bar |
| 15 | 16 |
# v1.5 - 2015-05-27: modification of caption bar because of bad support of accentuated characters |
| ... | ... |
@@ -98,10 +99,8 @@ bind o prev # Ctrl-x (x) o: move to the previous window |
| 98 | 99 |
bindkey "^[[6;3~" number +1 # Alt-pgup: move tab up (increase tab number) |
| 99 | 100 |
bindkey "^[[5;3~" number -1 # Alt-pgdown: move tab down (decrease tab number) |
| 100 | 101 |
|
| 101 |
- |
|
| 102 | 102 |
# New window (C-x C-c) |
| 103 |
-bindkey ^[t stuff "screen -X cd \$PWD; screen^M" |
|
| 104 |
-bind ^c stuff "screen -X chdir \$PWD;screen^M" |
|
| 103 |
+bind ^c stuff "screen -X chdir \$PWD ; [[ -n \$CONDA_DEFAULT_ENV ]] && screen -X setenv CONDA_DEFAULT_ENV \$CONDA_DEFAULT_ENV ; screen ; tput cuu1 ; tput el\n" |
|
| 105 | 104 |
|
| 106 | 105 |
|
| 107 | 106 |
|