cleaned up home folder by moving zsh folder around

docker
spinach 2 years ago
parent d9b8c3f1cc
commit 7b4dd169cb

@ -1,4 +1,5 @@
# dotfiles
### 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]
- link:
~/.fzf: src/fzf
~/.local/bin/fzf: src/fzf/bin/fzf
~/.local/bin/fzf-tmux: src/fzf/bin/fzf-tmux

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

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

@ -2,5 +2,6 @@
- [bin/zsh-check]
- link:
~/.zshrc: shells/zsh/zshrc
~/.zprofile: shells/zsh/zprofile
~/.config/zsh/.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
neovim
zsh
zshenv-sudo
oh-my-zsh
fzf
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
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.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
@ -21,12 +28,18 @@ fi
# fixing gopath and binaries
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.
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?
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="powerlevel10k/powerlevel10k"
@ -71,7 +84,7 @@ bindkey -v
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# export EDITOR='nvim'
# fi
# Compilation flags
@ -82,18 +95,20 @@ bindkey -v
alias vim="nvim"
# helpful aliasis
#alias ifconfig="/sbin/ifconfig"
# bb ip remove work related
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.
[[ ! -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
alias c="cd && clear"
# colorize ls
alias ls="ls --color=auto"
# water tracking alias
alias nalgene="water 32"
alias tt="timetracker"

@ -57,9 +57,10 @@ set -g status-left ""
# set -g @continuum-boot 'on'
#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
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
# auto install plugins at correct directory
if "test ! -d ~/.local/share/tmux/plugins/tpm" \
"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 '~/.tmux/plugins/tpm/tpm'
run '~/.local/share/tmux/plugins/tpm/tpm'

Loading…
Cancel
Save