aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 885185b..c4e34fb 100644
--- a/bashrc
+++ b/bashrc
@@ -1,3 +1,4 @@
+# beautifying ls command
alias ls='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias ll='ls -l --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias la='ls -la --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
@@ -7,8 +8,11 @@ export EDITOR=vim
export VISUAL=vim
alias vi=vim
-# prompt
-PS1='\u:\w $ '
+# git completion
+source $HOME/.gitcompletion.sh
+
+# prompt with git completion
+PS1='\u:\w$(__git_ps1 "\[\033[0;32m\]@\[\033[1;32m\]%s\[\033[0m\]\]") $ '
# Paths
export KDEV_DIR=/home/mssola/kde/kdevelop