|
@@ -88,6 +88,7 @@ alias d="l"
|
|
alias tree="tree -CF"
|
|
alias tree="tree -CF"
|
|
alias grep="grep --color --exclude-dir={.svn,.git,node_modules}"
|
|
alias grep="grep --color --exclude-dir={.svn,.git,node_modules}"
|
|
alias node-print="node -p -e 'const [,f=\".\",e=\"this\"]=process.argv; (function(){ with(this) return eval(e); }).call(require(path.resolve(f)))'"
|
|
alias node-print="node -p -e 'const [,f=\".\",e=\"this\"]=process.argv; (function(){ with(this) return eval(e); }).call(require(path.resolve(f)))'"
|
|
|
|
+alias ts-node-print="TS_NODE_FILES=true node -r ts-node/register -p -e 'const [,f=\".\",e=\"this\"]=process.argv; (function(){ with(this) return eval(e); }).call(require(path.resolve(f)))'"
|
|
|
|
|
|
# color diffs
|
|
# color diffs
|
|
! command -v colordiff &>/dev/null || alias diff="colordiff"
|
|
! command -v colordiff &>/dev/null || alias diff="colordiff"
|