Skip to content

Commit 62e0616

Browse files
committed
meow
1 parent 6baf6a4 commit 62e0616

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

.bashrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ COLOR_LIGHT_CYAN=$(tput sgr0 && tput bold && tput setaf 6)
1414
COLOR_RESET=$(tput sgr0)
1515

1616
# shellcheck disable=SC1091
17-
source ~/.iterm2_shell_integration.bash
17+
ITERM_SHELL_INTEGRATION="${HOME}.iterm2_shell_integration.bash"
18+
if [ -f "$ITERM_SHELL_INTEGRATION" ]; then
19+
source "$ITERM_SHELL_INTEGRATION"
20+
fi
1821

1922
pathadd() {
2023
newelement=${1%/}

code/snippets/javascript.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,23 @@
1414
"}"
1515
],
1616
"description": "For Loop"
17-
}
17+
},
18+
"Console Log String": {
19+
"prefix": "c,",
20+
"body": [
21+
"console.log('$1', ${1});",
22+
],
23+
"description": "Console log string"
24+
},
25+
"React Constructor": {
26+
"prefix": "rc",
27+
"body": [
28+
"constructor(props, context) {",
29+
" super(props, context);",
30+
" $0",
31+
"}",
32+
],
33+
"description": "Console Log"
34+
},
35+
1836
}

0 commit comments

Comments
 (0)