-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.aliases
67 lines (61 loc) · 2.42 KB
/
.aliases
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
55
56
57
58
59
60
61
62
63
64
65
66
67
#########
# ALIAS #
#########
# remore previous aliases
unalias -a
# commands overwritte
alias vi='nvim'
alias vim='nvim'
alias hx='helix'
alias ls='ls -h --color=auto --group-directories-first --sort=extension'
alias l='ls -l'
alias ll='ls -lA'
alias less='less -i'
alias grep='grep --color'
alias info='info --vi-keys'
alias cp='cp -i'
alias qxdrag='QT_QPA_PLATFORM=wayland ~/Applications/qxdrag/qxdrag.py'
alias ya-test='~/Projects/Contributions/Yazi/Repos/yazi/target/debug/yazi'
alias ya-sx='~/Projects/Contributions/Yazi/Repos/sxyazi-yazi/target/debug/yazi'
# alias ssh='wezterm ssh'
alias cdiff='diff-so-fancy | less --tabs=4 -RFX'
alias trans='$SCRIPTS/other/trans'
alias formconf='$SCRIPTS/format_config.sh'
alias netbeans='netbeans --userdir "$XDG_CONFIG_HOME/netbeans"'
alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings"'
alias wget='wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'
alias xbindkeys=xbindkeys -f "$XDG_CONFIG_HOME/xbindkeys/config"
alias nocolor='sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g"'
alias markreport='$HOME/Applications/MarkReport/MarkReport/MarkReport.py'
# rmtrash / trash-cli
alias rm='rmtrash'
alias rmdir='rmdirtrash'
alias sudo='sudo '
# auxiliar 'commands' aliases
alias weather='$SCRIPTS/weather.sh'
alias myip='curl ipinfo.io/ip && echo'
alias xxstartx='exec startx &> /dev/null'
alias update-time='sudo ntpdate pt.pool.ntp.org'
alias esp-tags='cp "$HOME/Globaltronic/espressiff/generate-tags.sh" .'
alias esp-reset='$SCRIPTS/esp-reset.sh'
alias esp-start='$SCRIPTS/esp-start.sh'
alias esp-flash='$SCRIPTS/esp-flash.sh'
alias nrf-start='source $SCRIPTS/nrf-start.sh'
alias zephyr-start='source $SCRIPTS/zephyr-start.sh'
alias arduino-bossac='$HOME/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2/bossac'
alias mtd='$SCRIPTS/tempdir.sh'
alias mcd='cd $(mtd --select)'
# project aliases
alias gcd='cd $($SCRIPTS/project/manage.sh gbt --get)'
alias gtask='$SCRIPTS/project/taskwarrior_project.sh gbt'
alias pcd='cd $($SCRIPTS/project/manage.sh per --get)'
alias ptask='$SCRIPTS/project/taskwarrior_project.sh per'
# nvidia programs
# alias prusa-slicer='prime-run prusa-slicer'
# alias prusa-gcodeviewer='prime-run prusa-gcodeviewer'
# alias freecad='prime-run freecad'
# alias blender='prime-run blender'
# alias godot='prime-run godot'
# alias godot4='prime-run godot4'
# alias pixelorama='prime-run pixelorama'
# alias unity='prime-run $HOME/Applications/Unity/2021.3.6f1/Editor/Unity'