Created
November 9, 2012 13:23
-
-
Save cherenkov/4045645 to your computer and use it in GitHub Desktop.
xargsの限界?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo . | xargs xdg-open | |
→正しく開かれる | |
ところが、 | |
.zshrcに | |
function xdg_open_background() { | |
xdg-open $* & | |
} | |
alias o=xdg_open_background | |
と書いて、 | |
echo . | xargs o | |
→xargs: o: そのようなファイルやディレクトリはありません |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment