Update
This commit is contained in:
@@ -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 #
|
||||
|
||||
|
||||
3
dot_config/fish/functions/find-bg.fish
Normal file
3
dot_config/fish/functions/find-bg.fish
Normal 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
|
||||
3
dot_config/fish/functions/scp-cdf.fish
Normal file
3
dot_config/fish/functions/scp-cdf.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function scp-cdf
|
||||
scp $argv[1] mokkar@teach.cs.utoronto.ca:~/Downloads/$argv[1]
|
||||
end
|
||||
Reference in New Issue
Block a user