Compare commits
10 Commits
d310513ed2
...
cfa8d2dad8
Author | SHA1 | Date |
---|---|---|
LordMathis | cfa8d2dad8 | |
LordMathis | 3ac73d2f43 | |
LordMathis | 7afca9cf36 | |
LordMathis | 80ab09569f | |
LordMathis | 9f334fa2df | |
LordMathis | 22eeb9574a | |
LordMathis | 6b7228e0bc | |
LordMathis | 40af373639 | |
Matus Namesny | fed924fc12 | |
Matus Namesny | 9e3585905c |
3
.aliases
3
.aliases
|
@ -1,6 +1,5 @@
|
|||
alias mkdir='mkdir -p'
|
||||
|
||||
alias cat='bat'
|
||||
alias vim='nvim'
|
||||
|
||||
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||
|
@ -10,8 +9,6 @@ alias dops='docker ps -a'
|
|||
alias doe='docker exec'
|
||||
alias dol='docker logs -f'
|
||||
|
||||
alias update='sudo apt-get update && sudo apt-get upgrade'
|
||||
|
||||
alias sudo='sudo '
|
||||
|
||||
open () {
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
alias cat='bat'
|
||||
alias update='yay -Syu'
|
|
@ -0,0 +1,2 @@
|
|||
alias cat='batcat'
|
||||
alias update='sudo apt-get update && sudo apt-get upgrade'
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 01a27d15c4c66f0d8626f06d295a05a9a86a1d2f
|
|
@ -1,18 +1,15 @@
|
|||
[submodule ".zsh/ohmyzsh"]
|
||||
path = .zsh/ohmyzsh
|
||||
url = git@github.com:ohmyzsh/ohmyzsh.git
|
||||
url = https://github.com/ohmyzsh/ohmyzsh.git
|
||||
[submodule ".zsh/zsh-syntax-highlighting"]
|
||||
path = .zsh/zsh-syntax-highlighting
|
||||
url = git@github.com:zsh-users/zsh-syntax-highlighting.git
|
||||
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
[submodule ".zsh/zsh-autosuggestions"]
|
||||
path = .zsh/zsh-autosuggestions
|
||||
url = git@github.com:zsh-users/zsh-autosuggestions.git
|
||||
url = https://github.com/zsh-users/zsh-autosuggestions.git
|
||||
[submodule ".zsh/zsh-completions"]
|
||||
path = .zsh/zsh-completions
|
||||
url = git@github.com:zsh-users/zsh-completions.git
|
||||
url = https://github.com/zsh-users/zsh-completions.git
|
||||
[submodule ".zsh/zsh-history-substring-search"]
|
||||
path = .zsh/zsh-history-substring-search
|
||||
url = git@github.com:zsh-users/zsh-history-substring-search.git
|
||||
[submodule ".config/nvim"]
|
||||
path = .config/nvim
|
||||
url = git@github.com:LazyVim/LazyVim.git
|
||||
url = https://github.com/zsh-users/zsh-history-substring-search
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
set selectmode=cmd
|
||||
set mouse-=a
|
|
@ -1 +1 @@
|
|||
Subproject commit b0bffcaf865434711d98b63eddd0aa52be0fbeb1
|
||||
Subproject commit 3fd63fdf01344bb5f5f13a9c33eb0b7a72fe4771
|
|
@ -1 +1 @@
|
|||
Subproject commit 54156de9cbcc807e9cdb9a7c4e6c09d4bab14536
|
||||
Subproject commit 828fe2bd3c67123263fc8a8cadebae92e10a2224
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 400e58a87f72ecec14f783fbd29bc6be4ff1641c
|
|
@ -1 +1 @@
|
|||
Subproject commit b2c910a85ed84cb7e5108e7cb3406a2e825a858f
|
||||
Subproject commit 754cefe0181a7acd42fdcb357a67d0217291ac47
|
13
.zshrc
13
.zshrc
|
@ -14,6 +14,10 @@ export HISTSIZE=15000 # keep 15,000 lines in memory
|
|||
export SAVEHIST=10000 # but save only 10,000 of them
|
||||
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
||||
|
||||
# ohmyzsh cache dir
|
||||
export ZSH_CACHE_DIR=$HOME/.zsh/cache
|
||||
mkdir -p "$ZSH_CACHE_DIR/completions"
|
||||
|
||||
# Editor
|
||||
export EDITOR=nvim
|
||||
export GIT_EDITOR=nvim
|
||||
|
@ -23,6 +27,14 @@ if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
|||
source /etc/profile.d/vte.sh
|
||||
fi
|
||||
|
||||
# Distro specific aliases
|
||||
DISTRO=`cat /etc/os-release | grep ^ID= | cut -f2 -d'='`
|
||||
if [ "$DISTRO" = 'arch' ]; then
|
||||
source $HOME/.aliases_arch
|
||||
else
|
||||
source $HOME/.aliases_ubuntu
|
||||
fi
|
||||
|
||||
# Conda
|
||||
__conda_setup="$('/home/matus/bin/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
|
@ -72,6 +84,7 @@ source ~/.zsh/ohmyzsh/plugins/docker/_docker
|
|||
source ~/.zsh/ohmyzsh/plugins/docker-compose/docker-compose.plugin.zsh
|
||||
source ~/.zsh/ohmyzsh/plugins/git/git.plugin.zsh
|
||||
source ~/.zsh/ohmyzsh/plugins/golang/golang.plugin.zsh
|
||||
source ~/.zsh/ohmyzsh/plugins/helm/helm.plugin.zsh
|
||||
source ~/.zsh/ohmyzsh/plugins/jsontools/jsontools.plugin.zsh
|
||||
source ~/.zsh/ohmyzsh/plugins/kubectl/kubectl.plugin.zsh
|
||||
source ~/.zsh/ohmyzsh/plugins/sudo/sudo.plugin.zsh
|
||||
|
|
Loading…
Reference in New Issue