xc5k_w
Last Updated: February 25, 2016
·
792
· james2doyle

zsh new file && open file

# create a new file in the current directory and then open it
new () {
    sudo touch $1 && open $1
}