Browse Source

Do not export what is not necessary

These variables only make sense in interactive bash session where we
always re-read .bashrc anyway.
Alois Mahdal 9 years ago
parent
commit
a1a0159e1c
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      dotfiles/bash/main.bashrc

+ 9
- 9
dotfiles/bash/main.bashrc View File

@@ -69,13 +69,13 @@ yum_hasbin() {
69 69
 ### BASH ###
70 70
 ### '''' ###
71 71
 
72
-export HISTCONTROL=erasedups
73
-export HISTIGNORE="$HISTIGNORE:ls:ll:la:cd"
74
-export HISTIGNORE="$HISTIGNORE:git dc:git st"
72
+HISTCONTROL=erasedups
73
+HISTIGNORE="$HISTIGNORE:ls:ll:la:cd"
74
+HISTIGNORE="$HISTIGNORE:git dc:git st"
75 75
 #export HISTIGNORE="$HISTIGNORE:se *:sc *"
76
-export HISTSIZE=-1
77
-export HISTFILESIZE=100000
78
-export GLOBIGNORE=.:..
76
+HISTSIZE=-1
77
+HISTFILESIZE=100000
78
+GLOBIGNORE=.:..
79 79
 
80 80
 # some more aliases
81 81
 alias cal='cal -m'
@@ -107,9 +107,9 @@ export LC_COLLATE=C     # make sort upper first
107 107
 export FFOO_PRETTY=color
108 108
 
109 109
 # make green git bash trinket even cooler
110
-export GIT_PS1_SHOWDIRTYSTATE=true
111
-export GIT_PS1_SHOWUNTRACKEDFILES=true
112
-export GIT_DISABLED_COMMANDS="$HOME/.gittum/disabled-commands"
110
+GIT_PS1_SHOWDIRTYSTATE=true
111
+GIT_PS1_SHOWUNTRACKEDFILES=true
112
+GIT_DISABLED_COMMANDS="$HOME/.gittum/disabled-commands"
113 113
 
114 114
 # disable mounting things like SFTP to ~/.gvfs when accessed
115 115
 # via GIO (used by nautilus etc.)