| ... |
... |
@@ -1,8 +1,8 @@
|
|
1 |
1 |
# Title: .bashrc
|
|
2 |
2 |
# Author: Frédéric CHEVALIER <f15.chevalier@gmail.com>
|
|
3 |
|
-# Version: 1.5
|
|
|
3 |
+# Version: 1.6
|
|
4 |
4 |
# Created in: 2012-05-26
|
|
5 |
|
-# Modified in: 2014-08-06
|
|
|
5 |
+# Modified in: 2014-08-16
|
|
6 |
6 |
|
|
7 |
7 |
|
|
8 |
8 |
|
| ... |
... |
@@ -19,7 +19,8 @@
|
|
19 |
19 |
# Versions #
|
|
20 |
20 |
#==========#
|
|
21 |
21 |
|
|
22 |
|
-# v1.5 - 2014-08-06: autocd set on / R alias added / bk function turned in a separate script / SSH environment setup moved in bash_profile
|
|
|
22 |
+# v1.6 - 2014-08-16: new history entries to ignore / screen and :q aliases
|
|
|
23 |
+# v1.5 - 2014-08-06: autocd set on / R alias added /bk function turned in a separate script / SSH environment setup moved in bash_profile
|
|
23 |
24 |
# v1.4 - 2014-07-26: ssh_agent function for SSH key management added / ssh_agent called when used SSH connexion / wf alias updated
|
|
24 |
25 |
# v1.3 - 2014-07-19: bug correction for PS1 (\[\e and \] missing for each color) / typo corrections
|
|
25 |
26 |
# v1.2 - 2014-07-06: h and t aliases corrected / m alias added / quit function added / R env variables added
|
| ... |
... |
@@ -58,7 +59,7 @@ export HISTCONTROL=ignoreboth
|
|
58 |
59 |
|
|
59 |
60 |
# Ignore some controlling instructions
|
|
60 |
61 |
# The '&' is a special pattern which suppresses duplicate entries.
|
|
61 |
|
-export HISTIGNORE=$'[ \t]*:&:[fb]g:exit'
|
|
|
62 |
+export HISTIGNORE=$'[ \t]*:&:[fb]g:exit:*q:screen*'
|
|
62 |
63 |
# export HISTIGNORE=$'[ \t]*:&:[fb]g:exit:ls' # Ignore the ls command as well
|
|
63 |
64 |
|
|
64 |
65 |
# Whenever displaying the prompt, write the previous line to disk
|
| ... |
... |
@@ -205,7 +206,10 @@ alias h="head"
|
|
205 |
206 |
alias t="tail"
|
|
206 |
207 |
alias m="more"
|
|
207 |
208 |
alias bye="exit"
|
|
|
209 |
+alias :q="exit"
|
|
208 |
210 |
alias R="R --no-save"
|
|
|
211 |
+alias s="screen -D -RR"
|
|
|
212 |
+alias ns="screen"
|
|
209 |
213 |
|
|
210 |
214 |
|
|
211 |
215 |
# You may want to put all your additions into a separate file like
|