-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
54 lines (43 loc) · 1.54 KB
/
zshrc
File metadata and controls
54 lines (43 loc) · 1.54 KB
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
50
51
52
53
54
# Starship
eval "$(starship init zsh)"
# XBOXDRV
alias gamepad-xbox='sudo xboxdrv --device-by-id 0xffff:0xffff --type xbox360 --silent --force-feedback'
alias gamepad-n64='sudo xboxdrv --device-by-id 0xffff:0xffff --type xbox360 --silent --force-feedback --trigger-as-button'
alias gamepad-ps3='sudo xboxdrv --type xbox360 --silent --force-feedback --trigger-as-button --detach-kernel-driver'
alias docker-run-mosquitto='docker run -ti -p 1883:1883 -p 9001:9001 \
-v ~/Devel/DB/docker/mosquitto/config:/mqtt/config:ro \
-v ~/Devel/DB/docker/mosquitto/log:/mqtt/log \
-v ~/Devel/DB/docker/mosquitto/data/:/mqtt/data/ \
--name mqtt toke/mosquitto'
# NEOVIM
alias vim='nvim'
alias htop='ytop'
alias du='dust'
alias cat='bat'
alias grep='rg'
alias eza='exa --long --header --git'
alias ls='eza'
alias dnfi='sudo dnf install'
alias dnfr='sudo dnf remove'
alias dnfs='dnf search'
alias dnfu='sudo dnf update'
alias docker='podman'
alias gd='git diff'
alias gdc='git diff --cached'
alias glog='git log --graph --all --oneline'
alias gst='git status'
# ******************************************************************************
# Other settings
# ******************************************************************************
# FZF Configuration
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# # tmuxp completion
# autoload bashcompinit
# bashcompinit
# eval "$(_TMUXP_COMPLETE=source tmuxp)"
# Add user python packages directory to path
path+=("~/.local/bin")
[ -d ~/.cargo/bin ] && path+=("~/.cargo/bin")
export PATH
# Terminal colors
export TERM=screen-256color