Browse Source

add TIMEFORMAT and dotenv function

master
Julian 2 months ago
parent
commit
50cdd2496e
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      .bashrc

+ 7
- 0
.bashrc View File

@@ -52,5 +52,12 @@ export LANG=en_GB.UTF-8
export LANGUAGE=$LANG
[[ -d "$HOME/bin" ]] && export PATH="$HOME/bin:$PATH"
[[ -d "$HOME/.local/bin" ]] && export PATH="$HOME/.local/bin:$PATH"
export TIMEFORMAT='%R'
export TZ='Europe/Berlin'
export VISUAL=$EDITOR

# functions
dotenv () {
set -a; [ -f .env ] && . .env; set +a
env|sort
}

Loading…
Cancel
Save