Skip to content

Commit 6bda1a7

Browse files
committed
.zshrc edited
1 parent 897e37e commit 6bda1a7

File tree

3 files changed

+30
-8
lines changed

3 files changed

+30
-8
lines changed

airootfs/etc/skel/.zshrc

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ alias autoremove="sudo pacman -Rns"
4343
#bindkey '^[[1;5C' forward-word # Ctrl+Right arrow
4444
#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
4545

46+
47+
48+
49+
50+
4651
## Path section
4752
# Set $PATH if ~/.local/bin exist
4853
if [ -d "$HOME/.local/bin" ]; then
@@ -56,11 +61,16 @@ function set_win_title(){
5661
precmd_functions+=(set_win_title)
5762

5863

64+
## Plugins section: Enable fish style features
65+
# Use syntax highlighting
66+
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
67+
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
5968

60-
69+
# Use autosuggestion
70+
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
6171

6272
# Use history substring search
63-
#source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
73+
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
6474

6575
# Use fzf
6676
source /usr/share/fzf/key-bindings.zsh
@@ -270,12 +280,13 @@ alias upd="/usr/bin/update"
270280
# Replace yay with paru if installed
271281
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'
272282

273-
Load Mcfly
283+
# Load Mcfly
274284
export MCFLY_FUZZY=true
275285
export MCFLY_RESULTS=20
276286
export MCFLY_INTERFACE_VIEW=BOTTOM
277287
export MCFLY_RESULTS_SORT=LAST_RUN
278288
eval "$(mcfly init zsh)"
279289

280290
## Run neofetch
281-
#neofetch
291+
neofetch
292+

airootfs/root/.zshrc

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ alias autoremove="sudo pacman -Rns"
4343
#bindkey '^[[1;5C' forward-word # Ctrl+Right arrow
4444
#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
4545

46+
47+
48+
49+
50+
4651
## Path section
4752
# Set $PATH if ~/.local/bin exist
4853
if [ -d "$HOME/.local/bin" ]; then
@@ -56,11 +61,16 @@ function set_win_title(){
5661
precmd_functions+=(set_win_title)
5762

5863

64+
## Plugins section: Enable fish style features
65+
# Use syntax highlighting
66+
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
67+
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
5968

60-
69+
# Use autosuggestion
70+
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
6171

6272
# Use history substring search
63-
#source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
73+
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
6474

6575
# Use fzf
6676
source /usr/share/fzf/key-bindings.zsh
@@ -270,13 +280,13 @@ alias upd="/usr/bin/update"
270280
# Replace yay with paru if installed
271281
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'
272282

273-
Load Mcfly
283+
# Load Mcfly
274284
export MCFLY_FUZZY=true
275285
export MCFLY_RESULTS=20
276286
export MCFLY_INTERFACE_VIEW=BOTTOM
277287
export MCFLY_RESULTS_SORT=LAST_RUN
278288
eval "$(mcfly init zsh)"
279289

280290
## Run neofetch
281-
#neofetch
291+
neofetch
282292

packages.x86_64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ powerline-fonts
204204
find-the-command-git
205205
mcfly
206206
starship
207+
zsh-history-substring-search
207208
#grml-zsh-config
208209

209210
# Text Editor

0 commit comments

Comments
 (0)