Skip to content

Commit

Permalink
Update Bash_Shortcuts.rb
Browse files Browse the repository at this point in the history
!* command gives all arguments.
  • Loading branch information
sgomez committed May 30, 2014
1 parent f5f8774 commit b9b0723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cheatsheets/Bash_Shortcuts.rb
Expand Up @@ -141,12 +141,12 @@
end
entry do
command '!*'
name 'The previous command except for the last word (e.g., if you type `find some_file.txt /`, then `!*` would give you `find some_file.txt`)'
name 'The previous command except for the first word (e.g., if you type `find some_file.txt /`, then `!*` would give you `some_file.txt /`)'
end
entry do
command '!*:p'
name 'Print out what `!*` would substitute'
end
end

end
end

0 comments on commit b9b0723

Please sign in to comment.