|
@@ -71,6 +71,14 @@ vim()
|
|
# using anemic term/color/etc as it's faster in emacs
|
|
# using anemic term/color/etc as it's faster in emacs
|
|
TERM=xterm-color emacsclient $1 &
|
|
TERM=xterm-color emacsclient $1 &
|
|
export EDITOR="emacsclient -c"
|
|
export EDITOR="emacsclient -c"
|
|
|
|
+ elif [[ "$(ps aux | grep -v grep | grep kate)" ]];
|
|
|
|
+ then
|
|
|
|
+ kate $1
|
|
|
|
+ export EDITOR="kate"
|
|
|
|
+ elif [[ "$(ps aux | grep -v grep | grep code-oss)" ]];
|
|
|
|
+ then
|
|
|
|
+ code-oss $1
|
|
|
|
+ export EDITOR="code-oss"
|
|
else
|
|
else
|
|
VIM_PATH=$(which vim)
|
|
VIM_PATH=$(which vim)
|
|
$VIM_PATH $1
|
|
$VIM_PATH $1
|
|
@@ -95,6 +103,10 @@ if [ ! -z $HIMALAYA_PATH ]; then
|
|
. ~/Repos/dotfiles/himalaya/himalaya_shell_ui.sh
|
|
. ~/Repos/dotfiles/himalaya/himalaya_shell_ui.sh
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+if which docker > /dev/null; then
|
|
|
|
+ alias dpa="echo \"docker ps --all\" ; docker ps --all"
|
|
|
|
+fi
|
|
|
|
+
|
|
# GPG Decrypt wrapper
|
|
# GPG Decrypt wrapper
|
|
export GPG_PATH=$(which gpg)
|
|
export GPG_PATH=$(which gpg)
|
|
if [ ! -z $GPG_PATH ]; then
|
|
if [ ! -z $GPG_PATH ]; then
|