|
@@ -110,6 +110,9 @@ alias ts-node-print="env-ts-node node-print"
|
|
|
# color json
|
|
|
! command -v json >/dev/null || alias json="json -o inspect"
|
|
|
|
|
|
+# color theme setup for bat (not aliased to cat directly because it's a bit slow)
|
|
|
+command -v bat >/dev/null || export BAT_THEME="$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo 'Visual Studio Dark+' || echo GitHub)"
|
|
|
+
|
|
|
# MacVim shell aliases
|
|
|
if [ "$OS" = "Darwin" ]; then
|
|
|
alias gvim="mvim"
|