shell: add a4i alias and set MANPATH
This commit is contained in:
@@ -25,6 +25,14 @@ alias nocaps='setxkbmap pl -option ctrl:nocaps'
|
||||
alias fixdp='xrandr --output DP-0 --right-of DP-2'
|
||||
alias a4='COLORTERM=truecolor TERM=xterm-256color a4'
|
||||
|
||||
a4i() {
|
||||
local Q="${@:-}"
|
||||
local NAME=$(a4 -l | grep '^ ' | fzy -q "$Q" | tr '\t' ' ' | cut -d' ' -f6-)
|
||||
if [ -n "$NAME" ]; then
|
||||
a4 -a "$NAME"
|
||||
fi
|
||||
}
|
||||
|
||||
tn() {
|
||||
if [ $# -eq 0 ]; then
|
||||
tmux new
|
||||
|
||||
Reference in New Issue
Block a user