-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
49 lines (39 loc) · 1.05 KB
/
.zshrc
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
38
39
40
41
42
43
44
45
46
47
48
49
#
# ~/.zshrc
#
# this file is used for setting user's interactive shell configuration and executing commands, will be read when starting as an interactive shell.
# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
setopt autocd nomatch notify
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/simone/.zshrc'
# enable autocompletion
#autoload -Uz compinit
#compinit
# End of lines added by compinstall
################################
### Tools specifics settings ###
################################
# rust
. "$HOME/.cargo/env"
# firefox
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
# zoxide
eval "$(zoxide init zsh)"
# fzf
source <(fzf --zsh)
###############
### ALIASES ###
###############
alias config='/usr/bin/git --git-dir=/home/simone/.cfg/ --work-tree=/home/simone'
alias ls='ls --color=auto'
alias lla='ls -lah'
alias cl='clear'
alias grep='grep --color=auto'
alias pkill="pkill -f"