Compare commits
24
Commits
v1.3.1
..
1f4c51569d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f4c51569d | ||
|
|
f3887d7a78 | ||
|
|
76771faa11 | ||
|
|
8922325e8a | ||
|
|
eb58769287 | ||
|
|
c8535307a3 | ||
|
|
6eec2cd028 | ||
|
|
daf5249f76 | ||
|
|
80c8976c9d | ||
|
|
8ac875adaa | ||
|
|
40de6cd46e | ||
|
|
11a748fac0 | ||
|
|
052f7e9012 | ||
|
|
eeb0247665 | ||
|
|
b69f4a8240 | ||
|
|
0b3c4a72f0 | ||
|
|
57f15be7c5 | ||
|
|
d7cafe13f9 | ||
|
|
83c2cc26ff | ||
|
|
2c994818e3 | ||
|
|
419a2cdc2c | ||
|
|
089fcab83b | ||
|
|
bb6cd297c2 | ||
|
|
620574ea19 |
@@ -6,9 +6,7 @@ set -g @plugin 'janoamaral/tokyo-night-tmux'
|
||||
|
||||
# Tokyo Night config
|
||||
set -g @tokyo-night-tmux_theme 'storm'
|
||||
set -g @tokyo-night-tmux_show_netspeed 1
|
||||
set -g @tokyo-night-tmux_netspeed_iface "wlp4s0"
|
||||
set -g @tokyo-night-tmux_window_id_style dsquare
|
||||
set -g @tokyo-night-tmux_window_id_style fsquare
|
||||
|
||||
# Set mouse on so that we can scroll with the mouse
|
||||
set -g mouse on
|
||||
@@ -18,4 +16,8 @@ set -g status-position bottom
|
||||
|
||||
#set -g @theme_plugin_datetime_format '%a %d %b %Y'
|
||||
|
||||
# Set it to start windows at 1 and renumber windows as well
|
||||
set -g base-index 1
|
||||
set -g renumber-windows on
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
+37
-13
@@ -3,22 +3,36 @@
|
||||
############### ALIASES ####################
|
||||
|
||||
# Load bottom with the proper color scheme
|
||||
alias btm="btm --theme=gruvbox"
|
||||
if command -v btm &>/dev/null; then
|
||||
alias btm="btm --theme=gruvbox"
|
||||
fi
|
||||
|
||||
# Remap ls to use lsd
|
||||
alias ls="lsd"
|
||||
|
||||
# Add alias for la to call lsd -lah
|
||||
alias la="lsd -lah"
|
||||
if command -v lsd &>/dev/null; then
|
||||
alias ls="lsd"
|
||||
# Add alias for la to call lsd -lah
|
||||
alias la="lsd -lah"
|
||||
fi
|
||||
|
||||
# Replace cat with bat
|
||||
alias cat="bat"
|
||||
if command -v bat &>/dev/null; then
|
||||
alias cat="bat"
|
||||
fi
|
||||
|
||||
# Alias cd to z for zoxide
|
||||
alias cd="z"
|
||||
if command -v zoxide &>/dev/null; then
|
||||
alias cd="z"
|
||||
fi
|
||||
|
||||
# Alias vim to nvim
|
||||
alias vim="nvim"
|
||||
if command -v nvim &>/dev/null; then
|
||||
alias vim="nvim"
|
||||
fi
|
||||
|
||||
# Alias for stow --dotfiles
|
||||
if command -v stow &>/dev/null; then
|
||||
alias stow.="stow --dotfiles"
|
||||
fi
|
||||
|
||||
############### END ALIASES ###############
|
||||
|
||||
@@ -28,7 +42,9 @@ alias vim="nvim"
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
|
||||
# Export my local-progs directory to find executables
|
||||
export PATH=$HOME/local-progs/:$PATH
|
||||
if [[ -d "$HOME/local-progs" ]]; then
|
||||
export PATH=$HOME/local-progs/:$PATH
|
||||
fi
|
||||
|
||||
# Pre-configure settings for zsh-vi-mode
|
||||
function zvm_config() {
|
||||
@@ -40,17 +56,25 @@ function zvm_config() {
|
||||
|
||||
# Add in our fzf integrations for zsh
|
||||
# Comment if you don't want the fzf integration
|
||||
source <(fzf --zsh)
|
||||
if command -v fzf &>/dev/null; then
|
||||
source <(fzf --zsh)
|
||||
fi
|
||||
|
||||
# Enable vi mode for zsh
|
||||
source $HOME/local-progs/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
||||
if [[ -f "$HOME/local-progs/zsh-vi-mode/zsh-vi-mode.plugin.zsh" ]]; then
|
||||
source $HOME/local-progs/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
||||
fi
|
||||
|
||||
# We want to make sure that autocompletions are loaded
|
||||
autoload -Uz compinit && compinit
|
||||
|
||||
# Initialize zoxide
|
||||
eval "$(zoxide init zsh)"
|
||||
if command -v zoxide &>/dev/null; then
|
||||
eval "$(zoxide init zsh)"
|
||||
fi
|
||||
|
||||
# Finally we want to use starship for our prompt
|
||||
# (because rust that's why)
|
||||
eval "$(starship init zsh)"
|
||||
if command -v starship &>/dev/null; then
|
||||
eval "$(starship init zsh)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user