mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Set umask, update aliases, and convert some to binds
This commit is contained in:
parent
517bc5f587
commit
662cf1bcdc
7 changed files with 55 additions and 28 deletions
9
.config/fish/functions/do.fish
Normal file
9
.config/fish/functions/do.fish
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
function do -d 'Repeat the command for each given argument'
|
||||
set command (string split ' ' $argv[1])
|
||||
and set args $argv[2..]
|
||||
or return 1
|
||||
|
||||
for arg in $args
|
||||
$command $arg
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue