summaryrefslogtreecommitdiff
path: root/zsh/index.zsh
blob: 59d871290017ebf23df4b4b207ea891698936761 (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
32
33
34
35
36
37
# 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
# End lf lines added by compinstall

source ~/.config/zsh/prompt.zsh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

alias t='tmux'
alias n='nvim'
# dot at the beginning makes shell to cd into last dir selected in ranger
alias rr='. ranger'
alias lg=lazygit
# connect to my earbuds
alias b='bluetoothctl connect E4:92:82:B5:80:1F'
alias p='cd ~/projects'
alias c='cd ~/.config'
alias dark="lookandfeeltool -a org.kde.breezedark.desktop"
alias light="lookandfeeltool -a org.kde.breeze.desktop"
alias leave="qdbus6 org.kde.Shutdown /Shutdown logout"

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

export EDITOR=nvim
export MANPAGER='nvim +Man!'