summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/bgnotify/bgnotify.plugin.zsh2
-rw-r--r--plugins/python/python.plugin.zsh3
-rw-r--r--plugins/react-native/README.md1
-rw-r--r--plugins/vi-mode/vi-mode.plugin.zsh5
4 files changed, 3 insertions, 8 deletions
diff --git a/plugins/bgnotify/bgnotify.plugin.zsh b/plugins/bgnotify/bgnotify.plugin.zsh
index 459f5214e..b3a6890b8 100644
--- a/plugins/bgnotify/bgnotify.plugin.zsh
+++ b/plugins/bgnotify/bgnotify.plugin.zsh
@@ -42,7 +42,7 @@ bgnotify () { ## args: (title, subtitle)
elif hash notify-send 2>/dev/null; then #ubuntu gnome!
notify-send "$1" "$2"
elif hash kdialog 2>/dev/null; then #ubuntu kde!
- kdialog -title "$1" --passivepopup "$2" 5
+ kdialog --title "$1" --passivepopup "$2" 5
elif hash notifu 2>/dev/null; then #cygwyn support!
notifu /m "$2" /p "$1"
fi
diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh
index a10c06fd3..f754ea261 100644
--- a/plugins/python/python.plugin.zsh
+++ b/plugins/python/python.plugin.zsh
@@ -1,12 +1,13 @@
# Find python file
alias pyfind='find . -name "*.py"'
-# Remove python compiled byte-code in either current directory or in a
+# Remove python compiled byte-code and mypy cache in either current directory or in a
# list of specified directories
function pyclean() {
ZSH_PYCLEAN_PLACES=${*:-'.'}
find ${ZSH_PYCLEAN_PLACES} -type f -name "*.py[co]" -delete
find ${ZSH_PYCLEAN_PLACES} -type d -name "__pycache__" -delete
+ find ${ZSH_PYCLEAN_PLACES} -type d -name ".mypy_cache" -delete
}
# Grep among .py files
diff --git a/plugins/react-native/README.md b/plugins/react-native/README.md
index ebe1be0e0..d1fce0fc2 100644
--- a/plugins/react-native/README.md
+++ b/plugins/react-native/README.md
@@ -33,7 +33,6 @@ plugins=(... react-native)
| **rniosxs** | `react-native run-ios --simulator "iPhone XS"` |
| **rniosxsm** | `react-native run-ios --simulator "iPhone XS Max"` |
| **rniosxr** | `react-native run-ios --simulator "iPhone XR"` |
-
| _Logging_ |
| **rnland** | `react-native log-android` |
| **rnlios** | `react-native log-ios` |
diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh
index 6cadd166a..93964594b 100644
--- a/plugins/vi-mode/vi-mode.plugin.zsh
+++ b/plugins/vi-mode/vi-mode.plugin.zsh
@@ -4,11 +4,6 @@ function zle-keymap-select() {
zle -R
}
-# Ensures that MODE_INDITCATOR is displayed on terminal start up.
-function zle-line-init() {
- zle reset-prompt
-}
-
# Ensure that the prompt is redrawn when the terminal size changes.
TRAPWINCH() {
zle && { zle -R; zle reset-prompt }