Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mv foo/bar/poit/zoid/narf.txt
- mv foo/bar/poit/zoid/narf.txt foo/bar/poit/zoid/troz.txt
- mv path/you/do/not/want/to/type/twice/oldname !#$:h/newname
- mv foo/bar/poit/zoid/{narf.txt,troz.txt}
- mv foo/bar/poit/zoid/{narf,troz}.txt
- mv foo/bar/poit/zoid/narf.txt
- a=test.csv ; cp $a $a.bak
- a=foo/bar/poit/zoid/ ; mv ${a}narf.txt ${a}troz.txt
- # Bind alt-m to insert previous word from the current line
- bindkey '^[m' copy-prev-shell-word
- # Bind alt-k to kill word before cursor in vi-style
- bindkey '^[k' vi-backward-kill-word
- git tag -m {v,v}1.0.1
- # same as
- git tag -m v1.0.1 v1.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement