cleaned up home folder by moving zsh folder around

docker
spinach 2 years ago
parent d9b8c3f1cc
commit 7b4dd169cb

@ -1,4 +1,5 @@
# dotfiles # dotfiles
### TODO ### TODO
- Add main polybar file and create bar as needed from modules
- port scripts to use rofi or equiv

@ -2,6 +2,5 @@
- [cd src/fzf && make install, Building fzf] - [cd src/fzf && make install, Building fzf]
- link: - link:
~/.fzf: src/fzf
~/.local/bin/fzf: src/fzf/bin/fzf ~/.local/bin/fzf: src/fzf/bin/fzf
~/.local/bin/fzf-tmux: src/fzf/bin/fzf-tmux ~/.local/bin/fzf-tmux: src/fzf/bin/fzf-tmux

@ -2,4 +2,4 @@
- [bin/oh-my-zsh-check.sh] - [bin/oh-my-zsh-check.sh]
- link: - link:
~/.local/share/oh-my-zsh: shells/oh-my-zsh ~/.local/share/omz-custom: shells/oh-my-zsh

@ -1,2 +1,2 @@
- link: - link:
~/.tmux.conf: terminals/tmux/tmux.sparse.conf ~/.config/tmux/tmux.conf: terminals/tmux/tmux.sparse.conf

@ -2,5 +2,6 @@
- [bin/zsh-check] - [bin/zsh-check]
- link: - link:
~/.zshrc: shells/zsh/zshrc ~/.config/zsh/.zprofile: shells/zsh/zprofile
~/.zprofile: shells/zsh/zprofile ~/.config/zsh/.zshrc: shells/zsh/zshrc
~/.config/zsh/.p10k.sh: shells/zsh/p10k.sh

@ -0,0 +1,2 @@
- shell:
- [echo 'export ZDOTDIR="$HOME/.config/zsh"' > /etc/zsh/zshenv, "creating zshenv"]

@ -3,6 +3,7 @@ arch.i3
arch.nvim arch.nvim
neovim neovim
zsh zsh
zshenv-sudo
oh-my-zsh oh-my-zsh
fzf fzf
tmux.sparse tmux.sparse

File diff suppressed because it is too large Load Diff

@ -0,0 +1 @@
export ZDOTDIR="$HOME/.config/zsh"

@ -8,6 +8,13 @@ fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
ssh-add -l > /dev/null || ssh-add ~/.ssh/id_ed25519 ssh-add -l > /dev/null || ssh-add ~/.ssh/id_ed25519
# Path to your oh-my-zsh installation.
# export ZSH="$HOME/.oh-my-zsh"
export ZSH="$HOME/.local/share/oh-my-zsh"
# Would you like to use another custom folder than $ZSH/custom?
export ZSH_CUSTOM="$HOME/.local/share/omz-custom/custom"
# export ZSH_CUSTOM=$HOME/.local/share/omz-custom
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n] # Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below. # confirmations, etc.) must go above this block; everything else may go below.
@ -21,12 +28,18 @@ fi
# fixing gopath and binaries # fixing gopath and binaries
export GOPATH="$HOME/.local/share/go" export GOPATH="$HOME/.local/share/go"
# moving cargo cache dir
export CARGO_HOME="$HOME/.local/share/cargo"
export RUSTUP_HOME="$HOME/.local/sare/rustup"
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh" # export ZSH="$HOME/.oh-my-zsh"
export ZSH="$HOME/.local/share/oh-my-zsh"
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
export ZSH_CUSTOM=$HOME/.local/share/oh-my-zsh/custom export ZSH_CUSTOM="$HOME/.local/share/omz-custom/custom"
# export ZSH_CUSTOM=$HOME/.local/share/omz-custom
# ZSH theme # ZSH theme
ZSH_THEME="powerlevel10k/powerlevel10k" ZSH_THEME="powerlevel10k/powerlevel10k"
@ -71,7 +84,7 @@ bindkey -v
# if [[ -n $SSH_CONNECTION ]]; then # if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim' # export EDITOR='vim'
# else # else
# export EDITOR='mvim' # export EDITOR='nvim'
# fi # fi
# Compilation flags # Compilation flags
@ -82,18 +95,20 @@ bindkey -v
alias vim="nvim" alias vim="nvim"
# helpful aliasis
#alias ifconfig="/sbin/ifconfig"
# bb ip remove work related # bb ip remove work related
alias bbrm='ssh-keygen -f "/home/kdeppe/.ssh/known_hosts" -R "192.168.7.2"' alias bbrm='ssh-keygen -f "/home/kdeppe/.ssh/known_hosts" -R "192.168.7.2"'
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh export POWERLEVEL9K_CONFIG_FILE="$HOME/.config/zsh/.p10k.sh"
[[ ! -f "$POWERLEVEL9K_CONFIG_FILE" ]] || source "$POWERLEVEL9K_CONFIG_FILE"
# home and clear # home and clear
alias c="cd && clear" alias c="cd && clear"
# colorize ls
alias ls="ls --color=auto"
# water tracking alias # water tracking alias
alias nalgene="water 32" alias nalgene="water 32"
alias tt="timetracker" alias tt="timetracker"

@ -57,9 +57,10 @@ set -g status-left ""
# set -g @continuum-boot 'on' # set -g @continuum-boot 'on'
#set -g @continuum-systemd-start-cmd 'new-session -d -s doormat' #set -g @continuum-systemd-start-cmd 'new-session -d -s doormat'
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.local/share/tmux/plugins"
# auto install plugins # auto install plugins at correct directory
if "test ! -d ~/.tmux/plugins/tpm" \ if "test ! -d ~/.local/share/tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" "run 'git clone https://github.com/tmux-plugins/tpm ~/.local/share/tmux/plugins/tpm && ~/.local/share/tmux/plugins/tpm/bin/install_plugins'"
# run tpm # run tpm
run '~/.tmux/plugins/tpm/tpm' run '~/.local/share/tmux/plugins/tpm/tpm'

Loading…
Cancel
Save