aboutsummaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2024-07-21 20:52:21 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2024-07-21 20:52:21 +0200
commit71c4cbed3d30265b5ef56dd6ddd812139bd3fbb8 (patch)
tree15e01a28eea842fa29346e67d5cfe1fd6b49ff7d /zshrc
parentf43184a57698bd4f44d92f29d7c220521eb92f44 (diff)
downloaddotfiles-71c4cbed3d30265b5ef56dd6ddd812139bd3fbb8.tar.gz
dotfiles-71c4cbed3d30265b5ef56dd6ddd812139bd3fbb8.tar.bz2
zshrc: autosuggestions and syntax-highlighting plugins.
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index fdf2213..f6e2c1a 100644
--- a/zshrc
+++ b/zshrc
@@ -20,6 +20,16 @@ alias cscope='cscope -R'
alias ltr='ls -ltr --color'
+if [ -f '/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh' ]; then
+ source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+fi
+
+if [ -f '/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' ]; then
+ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+fi
+
+
+
function aurclone () {
if [ -z "${1}" ]; then
echo "Usage: aurclone PKGNAME"