Skip to content

Commit

Permalink
add zioxide, change alacritty theme
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfluegge committed Jun 5, 2024
1 parent b9cc446 commit e9bcfe3
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .config/alacritty/alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import:
window:
startup_mode: Maximized
opacity: 1.0
decorations: buttonless

colors:
primary:
Expand Down
3 changes: 3 additions & 0 deletions .config/tmux/tmux.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
set-option -sa terminal-overrides ",xterm*:Tc"

# don't quit tmux on exit
set-option -g detach-on-destroy off

# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
Expand Down
7 changes: 6 additions & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ alias rrconfig="f(){ rr --selectfile=$HOME/.config/ranger };f"
alias fb=$HOME/.scripts/fzfbookmarks.sh
alias ls="eza --icons=always"
alias ta="tmux attach -t"
alias tmux-restore="mkdir -p $HOME/.tmux/resurrect && cd $HOME/.tmux/resurrect && ln -sf $HOME/.local/share/tmux/resurrect/last last && tmux new"
alias tl='tmux list-sessions'
alias tn="tmux new -s $(pwd | sed 's/.*\///g')"

export ZSH="$HOME/.zsh"
export ZSH_CUSTOM="$ZSH/custom"
Expand Down Expand Up @@ -80,9 +81,13 @@ source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f $HOME/.p10k.zsh ]] || source $HOME/.p10k.zsh

# Enable fzf shell
[ -f $HOME/.fzf.zsh ] && source $HOME/.fzf.zsh
export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'

# Enable zoxide shell
eval "$(zoxide init zsh)"

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$("$HOME/.pyenv/versions/miniconda3-3.11-23.5.2-0/bin/conda" "shell.zsh" "hook" 2> /dev/null)"
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ COPY .scripts $HOME/.scripts
COPY .zshrc $HOME/.zshrc
COPY .zprofile $HOME/.zprofile

RUN +chmod +x $HOME/.scripts/*

# ------------------- Install pyenv ------------------- #
RUN curl https://pyenv.run | zsh
# Check if pyenv-virtualenv is installed and install if not
Expand Down Expand Up @@ -214,6 +216,9 @@ RUN LAZYGIT_VERSION=$(curl -s https://api.github.com/repos/jesseduffield/lazygit
&& mv lazygit /usr/local/bin/ \
&& rm lazygit.tar.gz

# ------------------- Install zoxide ------------------- #
RUN curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh

# Clean up to reduce image size
RUN apt-get clean && rm -rf /var/lib/apt/lists/*

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- [tmux-resurrect](https://github.com/tmux-plugins/tmux-resurrect)
- [tmux-vim-navigator](https://github.com/christoomey/vim-tmux-navigator)
- [neovim](https://github.com/neovim/neovim)
- [nvim.config](https://github.com/fynnfluegge/nvim.config)
- [nvim.config](https://github.com/fynnfluegge/nvim.config)
- [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
- [nvm](https://github.com/nvm-sh/nvm) with npm and Node 20
- [cargo](https://github.com/rust-lang/cargo) with latest Rust
Expand All @@ -27,6 +27,7 @@
- [ranger](https://github.com/ranger/ranger)
- [delta](https://github.com/dandavison/delta)
- [eza](https://github.com/eza-community/eza)
- [zoxide](https://github.com/ajeetdsouza/zoxide)
- [lazygit](https://github.com/jesseduffield/lazygit)
- [lazydocker](https://github.com/jesseduffield/lazydocker)

Expand Down

0 comments on commit e9bcfe3

Please sign in to comment.