diff --git a/files/.config/git/ignore b/files/.config/git/ignore new file mode 100644 index 0000000..ceddaa3 --- /dev/null +++ b/files/.config/git/ignore @@ -0,0 +1 @@ +.cache/ diff --git a/files/.zshrc b/files/.zshrc index 97edb18..f8b21c2 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -8,6 +8,8 @@ PS1='%B%m%(?.. %??)%(1j. %j&.)%b %2~%B%#%b ' # minimal usable history, 12nov2015 +leah+ setopt histignoredups histignorespace incappendhistory extendedhistory SAVEHIST=9000 HISTSIZE=9000 HISTFILE=~/.zsh_history +# use global history, 05sep26 +kenshi+ +setopt sharehistory # minimal functions, 02mar +kenshi+ mkcd() { mkdir -p "$1"; cd "$1"; } @@ -26,5 +28,8 @@ alias strace='strace -f -s 256 -yy' printf '%s +%s+ %s\n' \ "$(date +%d%b%Y | tr [:upper:] [:lower:])" \ "$(hostname)" \ - "$((cat /sys/class/power_supply/BAT0/capacity 2>/dev/null && echo %) | tr -d '\n')" + "$((cat /sys/class/power_supply/BAT0/capacity 2>/dev/null && echo %) | tr -d '\n')" test -d ~/Downloads && rmdir ~/Downloads + +. /usr/share/fzf/completion.zsh +. /usr/share/fzf/key-bindings.zsh diff --git a/pkgs.txt b/pkgs.txt index 57cfc72..52e4e8c 100644 --- a/pkgs.txt +++ b/pkgs.txt @@ -9,6 +9,7 @@ dunst fontconfig-devel fuse-sshfs fzy +fzf gcc git keyd