aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zsh
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-21 19:28:26 -0500
committerToby Vincent <tobyv13@gmail.com>2022-03-21 19:28:26 -0500
commit8c32692e254c282bf98e7b66a8278a0fa7e884c5 (patch)
treea405ee0ee4af000bc7756b3732abc3f3139435f3 /zsh
parenta3f5a908b0ce879d3d4bbc03b5c7b8d97364fd21 (diff)
fix: fixed tmux config
Diffstat (limited to 'zsh')
-rw-r--r--zsh/keybindings.zsh9
-rw-r--r--zsh/zshrc65
2 files changed, 0 insertions, 74 deletions
diff --git a/zsh/keybindings.zsh b/zsh/keybindings.zsh
index 04118d8..31b17fd 100644
--- a/zsh/keybindings.zsh
+++ b/zsh/keybindings.zsh
@@ -98,15 +98,6 @@ for key kcap seq mode widget (
bindkey '^ ' autosuggest-accept
bindkey '^[[Z' reverse-menu-complete
-sessionizer () {
- tmux-sessionizer
- zle redisplay
-}
-
-zle -N sessionizer
-bindkey '^F' sessionizer
-# bindkey -s ^f "tmux-sessionizer\n"
-
# register ctrl+c as interupt
function ctrl_c_intr() {
stty intr \^C <$TTY >$TTY
diff --git a/zsh/zshrc b/zsh/zshrc
deleted file mode 100644
index 2148dcc..0000000
--- a/zsh/zshrc
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/usr/bin/env zsh
-
-HYPHEN_INSENSITIVE="true"
-DISABLE_UPDATE_PROMPT="true"
-DISABLE_AUTO_TITLE="true"
-HISTFILE=~/.zsh_history
-HISTSIZE=10000
-SAVEHIST=10000
-
-setopt NO_BEEP
-setopt MENU_COMPLETE
-setopt auto_pushd # auto push to the directory stack on cd
-setopt extended_history # record timestamp of command in HISTFILE
-setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE
-setopt hist_ignore_dups # ignore duplicated commands history list
-setopt hist_ignore_space # ignore commands that start with space
-setopt hist_verify # show command with history expansion to user before running it
-setopt share_history # share command history data
-
-typeset -A ZSH_HIGHLIGHT_STYLES
-ZSH_HIGHLIGHT_STYLES[path]='fg=cyan'
-ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern line)
-ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd completion)
-
-fpath=(~/.local/share/zsh/site-functions "${fpath[@]}")
-
-source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
-for f in ~/.zsh/*.*sh; do source $f; done
-
-# fzf settings
-export FZF_DEFAULT_COMMAND="fd --type f || git ls-tree -r --name-only HEAD || rg --files || find ."
-export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
-
-command -v fd &>/dev/null && _fzf_compgen_path() {
- fd --hidden --follow --exclude ".git" . "$1"
-}
-
-command -v fd &>/dev/null && _fzf_compgen_dir() {
- fd --type d --hidden --follow --exclude ".git" . "$1"
-}
-
-eval "$(starship init zsh 2>/dev/null)"
-eval "$(navi widget zsh 2>/dev/null)"
-
-set_win_title() {
- local prefix
-
- if [ "$USER" != "tobyv" ]; then
- prefix="${USER} in "
- fi
-
- if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
- prefix="${prefix/in/on}${HOST} in "
- fi
-
- echo -ne "\033]0;${prefix}${PWD/$HOME/~}\007"
-}
-
-precmd_functions+=(set_win_title)
-
-autoload -U compinit
-compinit -i
-
-zstyle ':completion:*' menu select
-source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh