summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/shell/aliasrc4
-rw-r--r--.config/zsh/.zshrc87
2 files changed, 1 insertions, 90 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index c1ba2e6..e65741a 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -3,7 +3,7 @@
# various shortcuts
alias reboot='sudo reboot'
alias poweroff='sudo shutdown -hP now'
-alias refresh='. $ZDOTDIR/.zshrc'
+alias refresh='. ~/.bashrc'
alias mutt='cd ~/.config/mutt/attachments; mutt; cd -'
alias jpwine='LANG=ja_JP.UTF-8 WINEDEBUG=-all wine'
alias emd='/usr/bin/emacs --daemon &'
@@ -12,8 +12,6 @@ alias z='zathura'
alias nnn='nnn -Hde'
alias cl='clear;fastfetch'
alias ea='$EDITOR ~/.config/shell/aliasrc'
-alias ez='$EDITOR ~/.config/zsh/.zshrc'
-alias ep='$EDITOR ~/.config/shell/profile'
alias cam='mpv --profile=low-latency --untimed /dev/video0'
alias df='df -h'
alias tma='tmux a -t'
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
deleted file mode 100644
index 4c1e54c..0000000
--- a/.config/zsh/.zshrc
+++ /dev/null
@@ -1,87 +0,0 @@
-umask 0077
-
-autoload -U colors && colors
-
-stty stop undef
-setopt no_nomatch
-
-autoload -U compinit
-autoload -U edit-command-line
-autoload -Uz vcs_info
-precmd() { vcs_info }
-zstyle ':completion:*' menu select
-zstyle ':vcs_info:git:*' formats ' (on %b)'
-zmodload zsh/complist
-compinit
-_comp_options+=(globdots)
-
-zle -N edit-command-line
-
-setopt PROMPT_SUBST
-
-# use emacs keybindings
-bindkey -e
-
-# fix del key just inserting a tilde
-bindkey "^[[3~" delete-char
-
-bindkey '^x^e' edit-command-line
-
-PROMPT='%B%{$fg[red]%}[%{$fg[magenta]%}%n%{$fg[green]%}@%{$fg[blue]%}%m%{$fg[white]%}${vcs_info_msg_0_}:%{$fg[yellow]%}%15<..<%~%<<]%{$reset_color%}%b '
-
-setopt extendedGlob
-
-HISTFILE=$ZDOTDIR/.zsh_history
-HISTSIZE='2000'
-SAVEHIST='1000'
-
-# ignore duplicate in history
-setopt hist_expire_dups_first
-setopt hist_ignore_dups
-setopt hist_ignore_all_dups
-setopt hist_find_no_dups
-setopt hist_save_no_dups
-
-DIRSTACKSIZE='20'
-
-setopt auto_pushd
-setopt pushd_silent
-setopt pushd_ignore_dups
-setopt pushd_minus
-
-
-#[ -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
-
-if [ -f $XDG_CONFIG_HOME/.dircolors ]; then
- eval "$(dircolors -b $XDG_CONFIG_HOME/.dircolors)"
-fi
-
-if [ -f $XDG_CONFIG_HOME/shell/aliasrc ]; then
- . $XDG_CONFIG_HOME/shell/aliasrc
-fi
-
-# FZF Section
-export FZF_DEFAULT_OPS="--extended"
-export FZF_DEFAULT_COMMAND="find -type f"
-export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
-
-if [ -f $HOME/.local/src/fzf/fzf.zsh ]; then
- . $HOME/.local/src/fzf/fzf.zsh
-fi
-
-# NNN
-if [ -f $XDG_CONFIG_HOME/nnn/nnn.bash ]; then
- . $XDG_CONFIG_HOME/nnn/nnn.bash
-fi
-
-# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
-#[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
-
-#if [ -f $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
-# . $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-#fi
-
-#if [ -f $XDG_DATA_HOME/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
-# . $XDG_DATA_HOME/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
-#fi