Skip to content

Commit

Permalink
feat: add zoxide terminal tools
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Jun 6, 2024
1 parent a4a1654 commit d0a1fd2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions brew/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ brew "fzf"
brew "git-delta"
brew "tldr"
brew "thefuck"
brew "zoxide"

# Docker
brew "docker"
Expand Down
10 changes: 8 additions & 2 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export ZSH="$HOME/.oh-my-zsh"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(zsh-z web-search)
plugins=(web-search)

source $ZSH/oh-my-zsh.sh

Expand Down Expand Up @@ -184,13 +184,19 @@ _fzf_comprun() {
esac
}

# thefuck configuration
### thefuck configuration
eval $(thefuck --alias)
eval $(thefuck --alias fk)

### Zoxide (better cd) configuration
eval "$(zoxide init zsh)"

### List directories
alias ls="eza -a --group-directories-first --icons --color=always"
alias la="eza -a --group-directories-first --icons --color=always --oneline"

### Go to dotfiles directory
alias dotfiles="code ~/.dotfiles"

### Zoxide (better cd)
alias cd="z"

0 comments on commit d0a1fd2

Please sign in to comment.