# Make some commands not show up in history
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help";
-# Prefer US English and use UTF-8
+# Prefer US language and UTF-8
export LANG="en_US.UTF-8";
-export LC_ALL="en_US.UTF-8";
-
+export LC_ALL="en_DK.UTF-8";
+#export LC_NUMERIC=en_DK.UTF-8
+#export LC_TIME=en_DK.UTF-8
+#export LC_MONETARY=en_DK.UTF-8
+#export LC_PAPER=en_DK.UTF-8
+#export LC_MEASUREMENT=en_DK.UTF-8
+export KEYMAP=us
# Highlight section titles in manual pages
export LESS_TERMCAP_md="${yellow}";
# export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
export LESS=-eFRX
-
+if [ -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs ]; then
+ . ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
+ export XDG_DESKTOP_DIR XDG_DOWNLOAD_DIR XDG_TEMPLATES_DIR XDG_PUBLICSHARE_DIR XDG_DOCUMENTS_DIR XDG_MUSIC_DIR XDG_PICTURES_DIR XDG_VIDEOS_DIR
+ fi
yellow="\e[1;33m"
fi
+ fg="$black"
+
# build the prompt
# logged in as root
if [ -n "${BASH_VERSION}" ]; then
PS1+=$'\r' # carriage return
PS1+="\[$userStyle\]\u" # username
- PS1+="\[$reset$white\] at "
+ PS1+="\[$reset$fg\] at "
PS1+="\[$hostStyle\]\h" # host
- PS1+="\[$reset$white\] in "
+ PS1+="\[$reset$fg\] in "
PS1+="\[$green\]\w" # working directory
# PS1+="\$(prompt_git \"$white on $cyan\")" # git repository details
- PS1+="\$(__git_ps1 ' \[${white}\]on \[${cyan}\]%s')"; # on branch
+ PS1+="\$(__git_ps1 ' \[${fg}\]on \[${cyan}\]%s')"; # on branch
PS1+=$'\n' # newline
- PS1+="\[$reset$white\]\$ \[$reset\]" # $ (and reset color)
+ PS1+="\[$reset$fg\]\$ \[$reset\]" # $ (and reset color)
PS2="\[${yellow}\]→ " # `→`
PS2+="\[${reset}\]" # reset color
--- /dev/null
+# This file is written by xdg-user-dirs-update
+# If you want to change or add directories, just edit the line you're
+# interested in. All local changes will be retained on the next run
+# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
+# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
+# absolute path. No other format is supported.
+#
+XDG_DESKTOP_DIR="$HOME/Desktop"
+XDG_DOWNLOAD_DIR="$HOME/Downloads"
+XDG_TEMPLATES_DIR="$HOME/Templates"
+XDG_PUBLICSHARE_DIR="$HOME/Public"
+XDG_DOCUMENTS_DIR="$HOME/Documents"
+XDG_MUSIC_DIR="$HOME/Music"
+XDG_PICTURES_DIR="$HOME/Pictures"
+XDG_VIDEOS_DIR="$HOME/Videos"
" section: options {{{1
" ---------------------
-
set autoindent
set autoread
set autowrite " automatically save before commands like :next and :make
if !has("gui_running") && $display == '' || !has("gui")
set mouse=
endif
-set background=light
+set background=dark
set number
" plugin settings {{{2