aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc26
1 files changed, 16 insertions, 10 deletions
diff --git a/.bashrc b/.bashrc
index 3122124..eb99159 100644
--- a/.bashrc
+++ b/.bashrc
@@ -14,6 +14,22 @@ else
fi
##
+# Utility functions.
+
+# Sources the given file if it really exists.
+source_maybe() {
+ if [ -f "$1" ]; then
+ source "$1"
+ fi
+}
+
+##
+# XDG: sourcing the variables on $HOME/.config/user-dirs.dirs might ease up the
+# configuration of other tools.
+
+source_maybe "$HOME/.config/user-dirs.dirs"
+
+##
# Basics.
# Beautifying ls command.
@@ -27,16 +43,6 @@ alias ..='cd ..'
alias cd..='cd ..'
##
-# Utility functions.
-
-# Sources the given file if it really exists.
-source_maybe() {
- if [ -f "$1" ]; then
- source "$1"
- fi
-}
-
-##
# Editors & terminals.
# Set GNU Emacs as the default editor. You can find this `emacsclient-a-nw`