Changed prompt for zsh
This commit is contained in:
parent
28efce9960
commit
f337a61be2
6
home.nix
6
home.nix
|
|
@ -66,10 +66,12 @@ in
|
|||
# Worst case, fallback to bash.
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
initExtra = ''
|
||||
# Set prompt
|
||||
PS1='%(?..* )%B%F{green}[%n@%m %~]%(!.#.$)%f%b '
|
||||
'';
|
||||
profileExtra = ''
|
||||
export VISUAL=nvim
|
||||
# Set prompt
|
||||
PS1='[%n@%m %~]%(!.#.$)'
|
||||
# Enable fcitx for sway
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
|
|
|
|||
Loading…
Reference in a new issue