summaryrefslogtreecommitdiff
path: root/zsh/index.zsh
blob: b510acc3f756c5c1bac459c1fa417a36e0493323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
#
# The following lines were added by compinstall
zstyle :compinstall filename '/home/aleksei/.zshrc'
autoload -Uz compinit
compinit
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' menu select

source ~/.config/zsh/prompt.zsh

source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

alias n='nvim'
alias tg='git describe --tags HEAD'
alias rr=ranger
alias lg=lazygit
alias b='bluetoothctl connect E4:92:82:B5:80:1F'
alias bb='echo $(bluetoothctl info E4:92:82:B5:80:1F | grep Battery)'
alias p='cd ~/projects'

eval $(ssh-agent -s) >> /dev/null
# Set up fzf key bindings and fuzzy completion
source <(fzf --zsh)

export EDITOR=nvim