package and script updates

This commit is contained in:
Noah Masur
2021-04-28 08:58:14 -04:00
parent 5d04fad4c9
commit c81827ef95
13 changed files with 63 additions and 12 deletions

View File

@ -79,6 +79,7 @@ function abbrs --description 'All abbreviations'
abbr -a fingerprint 'ssh-keyscan myhost.com | ssh-keygen -lf -'
abbr -a publickey 'ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub'
abbr -a forloop 'for i in (seq 1 100)'
abbr -a gatekeeper 'sudo spctl --master-disable'
# Docker
abbr -a dc '$DOTS/bin/docker_cleanup'

View File

@ -0,0 +1,4 @@
function recent --description "Open a recent file in Vim"
set vimfile (fd --exec stat -f "%m%t%N" | sort -nr | cut -f2 | fzf)
and vim $vimfile
end