mirror of https://github.com/ericonr/dotfiles.git
Update fish/tmux.
This commit is contained in:
parent
4bcb0d0704
commit
73683e97fe
|
@ -14,6 +14,10 @@ alias clem='emacsclient -n'
|
|||
|
||||
alias temacs="emacs -nw"
|
||||
|
||||
function spell
|
||||
aspell -a | sed '1d;$d'
|
||||
end
|
||||
|
||||
function mdbat --argument-names file
|
||||
lowdown -Tterm $file | less -R
|
||||
end
|
||||
|
@ -23,3 +27,7 @@ if not command -sq mdcat
|
|||
lowdown -Tterm $file
|
||||
end
|
||||
end
|
||||
|
||||
function manp
|
||||
MANPAGER=zathura man -Tpdf $argv
|
||||
end
|
||||
|
|
|
@ -30,7 +30,16 @@ alias pre='cd ../'
|
|||
alias weather='curl wttr.in/'
|
||||
|
||||
## Aliases for quick grepping
|
||||
alias rgmod='lsmod | rg -i'
|
||||
alias rgmod='lsmod | grep -i'
|
||||
alias rug='ug --ignore-files --sort -r'
|
||||
|
||||
function watchps --description "Watch process(es)"
|
||||
set _p (pgrep -f "$argv[1]")
|
||||
[ -z "$_p" ]
|
||||
and return 1
|
||||
|
||||
watch -n.1 ps -o pid,%cpu,nlwp,vsz,sz $_p
|
||||
end
|
||||
|
||||
function randpw -a digits \
|
||||
--description "Generates a random password with the specified number of digits, and copies it into the Wayland buffer."
|
||||
|
|
|
@ -21,6 +21,9 @@ bind -n M-down set -q status off
|
|||
bind -n M-up set -q status on
|
||||
bind P paste-buffer
|
||||
|
||||
# https://unix.stackexchange.com/questions/101949
|
||||
bind % split -h -c "#{pane_current_path}"
|
||||
|
||||
set -sg escape-time 0
|
||||
set -g mouse on
|
||||
|
||||
|
|
Loading…
Reference in New Issue