Skip to content

Commit

Permalink
custom functions and better history
Browse files Browse the repository at this point in the history
  • Loading branch information
AccursedGalaxy committed May 30, 2024
1 parent 02f3c71 commit 2900340
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ plugins=(
export VISUAL=nvim
export EDITOR="$VISUAL"

# History Configuration
export HISTSIZE=100000
export HISTFILESIZE=100000
setopt inc_append_history
setopt share_history
setopt hist_ignore_all_dups
setopt hist_ignore_space

# Pokemon Colorscripts Display
# More info: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos
pokemon-colorscripts --no-title -s -r
Expand Down Expand Up @@ -151,12 +159,18 @@ alias fzcat='fzf --preview "batcat --color=always --style=header,grid --line-ran
# (_ _ ._ o ._ _|_ (_ _|_ _|_ _|_
# __) (_ | | |_) |_ __) |_ |_| | |
# |
# FZF Configuration
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

# thefuck setup
eval $(thefuck --alias)

# FZF Configuration
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

# Create Dir and CD into
mkcd () { mkdir -p "$1" && cd "$1"; }
# Reload Shell
reload() { source ~/.zshrc; }


# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
Expand Down

0 comments on commit 2900340

Please sign in to comment.