diff --git a/zsh_aliases b/zsh_aliases index 28235e8..7fd5665 100644 --- a/zsh_aliases +++ b/zsh_aliases @@ -1,4 +1,11 @@ -### Custom Alias File +man -k . | +sort - | +fzf -q "$1" +m \ +--cycle \ +--reverse \ +--tiebreak=begin,chunk,length \ +--preview="echo -e '\n\t\t\t\t \033[4mCHEAT SHEET:\033[0m\n'; cheat {1}; echo -e '\n\t\t\t\t \033[4mTLDR:\033[0m\n'; tldr {1}; echo -e '\n\t\t\t\t \033[4mMANUAL PAGE:\033[0m\n'; man -Hw3m {1} 2> /dev/null" \ +--preview-window=62%:wrap:border-rounded### Custom Alias File ## sourced by .zshrc @@ -121,10 +128,3 @@ alias pacnew="sudo DIFFPROG=meld pacdiff" ### GITHUB personal access token alias gitpw="cpfile ~/Git/PersonalAccessToken/PAT" - -### Pokemon fastfetch -alias fetch="fastfetch --logo <(pokemon-colorscripts -n gengar --no-title)" - -pokefetch() { - fastfetch --logo <(pokemon-colorscripts -n "$1" --no-title) -}