summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-11-16 11:31:57 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-11-16 11:31:57 +0200
commit343be15cce4e136b2a47716db6009e8bdb5b5c02 (patch)
treed0670936fa0fa22c89ee66d9666944818c9184ff
parent037e8cea605496ad46d1194f6a55d49bab31bf01 (diff)
downloaddotfiles-343be15cce4e136b2a47716db6009e8bdb5b5c02.tar
dotfiles-343be15cce4e136b2a47716db6009e8bdb5b5c02.tar.gz
dotfiles-343be15cce4e136b2a47716db6009e8bdb5b5c02.zip
Ditched oh-my-zsh in faviour of manual script management, also changed some settings
-rw-r--r--.zshrc45
1 files changed, 31 insertions, 14 deletions
diff --git a/.zshrc b/.zshrc
index 919715f..10b8991 100644
--- a/.zshrc
+++ b/.zshrc
@@ -12,8 +12,6 @@
# General {{{
# Exports {{{
- export ZSH="/home/kamen/.oh-my-zsh"
-
export PATH=$HOME/bin:/usr/local/bin:$PATH # Adds ~/bin and /usr/local/bin paths to PATH
export PATH="$PATH:$HOME/.npm-global/bin" # Adds ~/.npm-global/bin path to PATH
@@ -44,21 +42,19 @@
# ENABLE_CORRECTION="true" # command auto-correction
# COMPLETION_WAITING_DOTS="true" # display red dots while waiting for completion
# DISABLE_UNTRACKED_FILES_DIRTY="true" # disable marking untracked files under VCS as dirty; improves status check for large repos
- ### }}}
-
- # Plugins {{{
- # Standard plugins: $ZSH/plugins/; Custom plugins: $ZSH_CUSTOM/plugins/
- plugins=(git)
-
- source $ZSH/oh-my-zsh.sh
-
- export NVM_DIR="$HOME/.nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
- [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# }}}
# Other {{{
stty -F/dev/tty -ixon -ixoff # Disables Software Flow Control
+ setopt long_list_jobs
+
+ # Changing/making/removing directory
+ setopt auto_pushd
+ setopt pushd_ignore_dups
+ setopt pushdminus
+
+ # recognize comments
+ setopt interactivecomments
# }}}
# }}}
@@ -206,6 +202,19 @@
# }}}
# }}}
+# Plugins {{{
+ # omz plugins {{{
+ source ~/.zsh/omz/history.zsh
+ source ~/.zsh/omz/termsupport.zsh
+ source ~/.zsh/omz/key-bindings.zsh
+ source ~/.zsh/omz/compfix.zsh
+ # }}}
+
+ # zsh-syntax-highlighting {{{
+ source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+ # }}}
+# }}}
+
# Aliases {{{
# dnf {{{
alias sdi="sudo dnf install -y"
@@ -248,6 +257,8 @@
# }}}
# Application specific {{{
+ alias combinepdf="gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=temp.pdf"
+
alias lg="lazygit"
alias v="vim"
@@ -291,7 +302,13 @@
grit add -p $parent -- $@
}
fi
-
+
+ if [[ -x "$(command -v nemo)" ]]; then
+ onemo() {
+ bgr "nemo ./"
+ }
+ fi
+
# Execute multiple commands
mexec () {
for cmd in "${@[@]}"; do