-include /usr/share/fzf/key-bindings.bash
-include /usr/share/fzf/completion.bash
-
-# from https://unix.stackexchange.com/a/55935
-a_prompt() {
- cwd=$(sed -e "s:$HOME:~:" -e "s:\(\.\?[^/]\)[^/]*/:\1/:g" <<<$PWD)
- printf $cwd
-}
-PS1="\u@\h \$(a_prompt)> "