-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add zshenv, move vars to it, and move other zsh files to .config
- Loading branch information
Showing
4 changed files
with
39 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# XDG dirs | ||
export XDG_CONFIG_HOME="$HOME/.config" | ||
export XDG_DATA_HOME="$HOME/.local/share" | ||
export XDG_STATE_HOME="$HOME/.local/state" | ||
export XDG_CACHE_HOME="$HOME/.cache" | ||
|
||
# ZSH | ||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" | ||
export HISTFILE="$ZDOTDIR/.zhistory" | ||
export HISTSIZE=10000 | ||
export SAVEHIST=10000 | ||
|
||
# Neovim | ||
export EDITOR="nvim" | ||
export VISUAL="nvim" | ||
export DIFFPROG='nvim -d' | ||
|
||
# Ripgrep | ||
export RIPGREP_CONFIG_PATH="$DOTFILES_DIR/ripgreprc" | ||
|
||
# FZF | ||
export FZF_DEFAULT_COMMAND='fd --type f' | ||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" | ||
|
||
# Docker Rootless | ||
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock | ||
|
||
# Ruby gems | ||
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')" | ||
export PATH="$PATH:$GEM_HOME/bin" | ||
|
||
# oh-my-zsh | ||
export ZSH="$HOME/.oh-my-zsh" | ||
export ZSH_CUSTOM="$DOTFILES_DIR/zsh/oh-my-zsh-custom-dir" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters