diff options
| author | Marc Vertes <mvertes@free.fr> | 2020-02-16 11:31:50 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2020-02-16 11:31:50 +0100 |
| commit | 1abd0acce843758cf2b248fbd3874623d68879a2 (patch) | |
| tree | 1ac37841abe2cc56d8666d4a892b90aa758fd55c | |
| parent | 68c5f4042ad2b77cbeb387526788092285d3b4d9 (diff) | |
fix: set a base prefix for termux
| -rw-r--r-- | .bashrc | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -70,11 +70,17 @@ alias dya='YAEGI_AST_DOT=1 YAEGI_CFG_DOT=1 ./yaegi' ws() (cd ~/Wiki && git status --short) export -f ws +wsd() (cd ~/Wiki && git add . && git diff --cached) +export -f wsd + #PS1='[\u@\h \W]\$ ' +# Accomodate different base prefix on termux +[ -d "$HOME/../usr" ] && base=.. # fzf -. /usr/share/fzf/completion.bash -. /usr/share/fzf/key-bindings.bash +. $base/usr/share/fzf/completion.bash +. $base/usr/share/fzf/key-bindings.bash +unset base # Display git status in prompt . ~/.bash-powerline.sh |
