fixes prompt and ff command
This commit is contained in:
parent
3a674fad8d
commit
e06b218322
2 changed files with 3 additions and 2 deletions
0
modules/bash/bin/ff.sh
Normal file → Executable file
0
modules/bash/bin/ff.sh
Normal file → Executable file
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
sessionVariables = {
|
||||
GPG_TTY = "$(tty)";
|
||||
PROMPT_DIRTRIM = "3";
|
||||
PROMPT_DIRTRIM = 3;
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
|
|
@ -39,7 +39,8 @@
|
|||
if [ -n "$INSIDE_EMACS" ]; then
|
||||
PS1="[\u@\h:\w]\\$ "
|
||||
else
|
||||
PROMPT_COMMAND="PS1_CMD1=$(git branch --show-current 2>/dev/null)'; PS1='\u@\h \[\e[96m\]\w\[\e[0m\] (\[\e[95m\]$PS1_CMD1\[\e[0m\])\n\[\e[96m\]λ\[\e[0m\] "
|
||||
PROMPT_COMMAND="PS1_CMD1=$(git branch --show-current 2>/dev/null)";
|
||||
PS1="\u@\h \[\e[96m\]\w\[\e[0m\] (\[\e[95m\]$PS1_CMD1\[\e[0m\])\n\[\e[96m\]λ\[\e[0m\] "
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue