commit 2b3edac1779a941561d65ef8959b48d0cc86d13d
Author: Simon Watson <spw01@protonmail.com>
Date: Wed May 31 10:05:38 2023 -0400
Minor alias/zeal update
diff --git a/bashrc/bashrc-all b/bashrc/bashrc-all
index 7af9937..c51e457 100644
--- a/bashrc/bashrc-all
+++ b/bashrc/bashrc-all
@@ -71,6 +71,14 @@ vim()
# using anemic term/color/etc as it's faster in emacs
TERM=xterm-color emacsclient $1 &
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
VIM_PATH=$(which vim)
$VIM_PATH $1
@@ -95,6 +103,10 @@ if [ ! -z $HIMALAYA_PATH ]; then
. ~/Repos/dotfiles/himalaya/himalaya_shell_ui.sh
fi
+if which docker > /dev/null; then
+ alias dpa="echo \"docker ps --all\" ; docker ps --all"
+fi
+
# GPG Decrypt wrapper
export GPG_PATH=$(which gpg)
if [ ! -z $GPG_PATH ]; then
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index 22c1944..1cee017 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -45,11 +45,19 @@
:repo "Kaali/pico8-mode"))
(straight-use-package
'(fzf :type git :host github
- :repo "bling/fzf.el"))
+ :repo "bling/fzf.el"))
;; EasyPG settings
(setq epa-pinentry-mode 'loopback)
+;; add hook for searching in zeal
+;; https://zealdocs.org/
+(straight-use-package
+ '(zeal-at-point :type git :host github
+ :repo "jinzhu/zeal-at-point"))
+
+(global-set-key (kbd "C-c v") 'zeal-at-point)
+
;; newlisp mode
;; (straight-use-package
;; '(newlisp-mode