Skip to content

Commit c6a5bbd

Browse files
authored
solving previous error os starship in zshrc
1 parent b2474f9 commit c6a5bbd

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

airootfs/root/.zshrc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ if [ -d "$HOME/.local/bin" ]; then
4949
export PATH=$HOME/.local/bin:$PATH
5050
fi
5151

52-
#eval "$(starship init zsh)"
53-
#function set_win_title(){
54-
# echo -ne "\033]0; $USER@$HOST:${PWD/$HOME/~} \007"
55-
#}
52+
eval "$(starship init zsh)"
53+
function set_win_title(){
54+
echo -ne "\033]0; $USER@$HOST:${PWD/$HOME/~} \007"
55+
}
5656
precmd_functions+=(set_win_title)
5757

5858

@@ -108,9 +108,9 @@ zstyle ':completion:*' cache-path ~/.cache/zcache
108108
# automatically load bash completion functions
109109
autoload -U +X bashcompinit && bashcompinit
110110

111-
#HISTFILE=~/.zhistory
112-
#HISTSIZE=50000
113-
#SAVEHIST=10000
111+
HISTFILE=~/.zhistory
112+
HISTSIZE=50000
113+
SAVEHIST=10000
114114

115115

116116
## Keys
@@ -270,12 +270,12 @@ alias upd="/usr/bin/update"
270270
# Replace yay with paru if installed
271271
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'
272272

273-
# Load Mcfly
274-
#export MCFLY_FUZZY=true
275-
#export MCFLY_RESULTS=20
276-
#export MCFLY_INTERFACE_VIEW=BOTTOM
277-
#export MCFLY_RESULTS_SORT=LAST_RUN
278-
#eval "$(mcfly init zsh)"
273+
Load Mcfly
274+
export MCFLY_FUZZY=true
275+
export MCFLY_RESULTS=20
276+
export MCFLY_INTERFACE_VIEW=BOTTOM
277+
export MCFLY_RESULTS_SORT=LAST_RUN
278+
eval "$(mcfly init zsh)"
279279

280280
## Run neofetch
281281
#neofetch

0 commit comments

Comments
 (0)