This file contains hidden or 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
#!/bin/bash | |
ropen() { | |
#!/bin/bash | |
cd $1 | |
rvm use | |
bundle i | |
code . | |
} |
This file contains hidden or 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
# function to execute multiple comands in different terminal tabs | |
# ex: nt "code ." "cd ~/path/to/somewhere && npm run dev" "cd ~/path/to/other/folder && docker-compose up" | |
nt() { | |
for arg in "$@" | |
do | |
gnome-terminal --tab -- bash -ic "$arg; bash" | |
done | |
} |
This file contains hidden or 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
alias subl='code' |