Note:
<example>is meant to denote text replaced by you (including brackets).
// global dependencies
npm install -g knex| [ | |
| { | |
| "key": "cmd+l", | |
| "command": "cursorRight", | |
| "when": "textInputFocus" | |
| }, | |
| { | |
| "key": "shift+cmd+l", | |
| "command": "cursorRightSelect", | |
| "when": "textInputFocus" |
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| { | |
| "extends": [ | |
| "standard", | |
| "plugin:react/recommended", | |
| "prettier", | |
| "prettier/react", | |
| "prettier/standard" | |
| ], | |
| "plugins": ["react", "prettier", "standard"], | |
| "parserOptions": { |
| # Git branch in prompt. | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " |