blob: 84418afa286f47534e37c109613cf711a6782e98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
~/.local/bin/system/neoboot.sh
setopt autocd
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
# End of lines configured by zsh-newuser-install
PS1='%B%F{magenta}%n%B%F{yellow}@%B%F{magenta}%M %B%F{cyan}%1~ %B%F{default}∮ '
#PS1='%B%F{white}[%B%F{red}Z%B%F{magenta}ARCH %B%F{cyan}%1~%B%F{white}]%B%F{default}$ '
bindkey -v
# Yank to the system clipboard
function vi-yank-clipboard {
zle vi-yank
if [ "$WAYLAND_DISPLAY" ]; then
printf "$CUTBUFFER" | wl-copy
else
printf "$CUTBUFFER" | xclip -selection clipboard
fi
}
zle -N vi-yank-clipboard
bindkey -M vicmd ' y' vi-yank-clipboard
#fzf search
source <(fzf --zsh)
source ~/.config/.profile
#bash --login -i -c 'source ~/.profile'
# bindkey -a h backward-char
# bindkey -a i forward-char
# bindkey -a n down-history
# bindkey -a e up-history
# eval "$(atuin init zsh)"
|