This commit is contained in:
2019-06-04 03:35:42 -04:00
parent a4d40fcebf
commit a82e9bd341
9 changed files with 77 additions and 47 deletions

View File

@@ -80,6 +80,7 @@ abbr cpe "copy echo"
abbr cpp "copy echo (pwd)"
abbr cff "create-fish-function"
abbr ev "evince-silent"
abbr fbg "find-bg"
# git [[[ #
abbr gcamp "git-amend-push"
@@ -97,6 +98,7 @@ abbr pgrf "grep-pdf-file"
abbr rs "redshift-set"
abbr ut "unix-timestamp"
abbr uzr "unzip-rm"
abbr fvft "find-vim-filetype"
# ]]] fxn abbr's #

View File

@@ -0,0 +1,3 @@
function find-bg
find ~/Pictures/Backgrounds/ -regextype sed -regex ".*$argv[1].*[[:digit:]]\{1,\}.*" -printf "%f\n" | sort -r | head -n1 | cut -f1 -d '.'
end

View File

@@ -0,0 +1,3 @@
function scp-cdf
scp $argv[1] mokkar@teach.cs.utoronto.ca:~/Downloads/$argv[1]
end