mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 22:00:14 +00:00
package and script updates
This commit is contained in:
@ -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'
|
||||
|
4
fish.configlink/functions/recent.fish
Normal file
4
fish.configlink/functions/recent.fish
Normal 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
|
Reference in New Issue
Block a user