blob: 91eb0ec17a61e7051f736c215847a0318f5f99ef (
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
|
~/.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}$ '
tty | grep -q pts && test "$USER" = "iceyrazor" && PS1='%B%F{magenta}アイシライゾ%B%F{yellow}@%B%F{magenta}%M %B%F{cyan}%1~ %B%F{default}∮ '
bindkey -v
# Yank to the system clipboard
function vi-yank-clipboard {
zle vi-yank
if [ "$WAYLAND_DISPLAY" ]; then
printf -- "%s" "$CUTBUFFER" | wl-copy
else
printf -- "%s" "$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
|