-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.zsh_aliases
155 lines (145 loc) · 8.59 KB
/
.zsh_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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Nala Aliases
alias n='nala' # A faster, prettier front-end for libapt
alias nf='nala fetch' # Nala Fastest Mirror
alias nu='nala update' # Nala Update
alias nfu='nala upgrade -y' # Nala Update & Full-Upgrade
alias ni='nala install -y' # Nala Install
alias nrm='nala remove -y' # Nala Remove
alias np='nala purge -y' # Nala Purge
alias nc='nala clean' # Nala Clean
alias na='nala autoremove -y' # Nala Auto Remove
alias nh='nala history' # Nala History
alias nl='nala list' # Nala List
alias ns='nala search' # Nala Search
alias nv='nala show' # Nala View Package Info
# Bun Aliases
alias bun='grun ~/.bun/bin/bun'
alias bn='grun ~/.bun/bin/bun' # A complete toolkit for building JavaScript apps
alias bni='grun ~/.bun/bin/bun install --backend=copyfile' # Bun Install
alias bnr='grun ~/.bun/bin/bun run' # Bun Run
alias bnt='grun ~/.bun/bin/bun test' # Bun Test
alias bnx='grun ~/.bun/bin/bun x' # Bunx
alias bnrpl='grun ~/.bun/bin/bun repl' # Bun Repl
alias bnini='grun ~/.bun/bin/bun init' # Bun Init
alias bnc='grun ~/.bun/bin/bun create' # Bun Create
alias bna='grun ~/.bun/bin/bun add --backend=copyfile' # Bun Add
alias bnrm='grun ~/.bun/bin/bun remove' # Bun Remove
alias bnu='grun ~/.bun/bin/bun update' #Bun Update
alias bnl='grun ~/.bun/bin/bun link' # Bun Link
alias bnul='grun ~/.bun/bin/bun unlink' # Bun Unlink
alias bnpm='grun ~/.bun/bin/bun pm' # Bun Package Manager
alias bnb='grun ~/.bun/bin/bun build' # Bun Build
alias bnup='grun ~/.bun/bin/bun upgrade' # Bun Upgrade
alias bnli='grun ~/.bun/bin/bun lint' # Run Prettier & ESLint
alias bnlf='grun ~/.bun/bin/bun lintfix' # Run Prettier & ESLint, Fix Errors
# PNPM Aliases
alias p='pnpm' # PNPM Package Manager
alias px='pnpx' # PNPM Package Runner
alias pa='pnpm add' # PNPM Add Package
alias pad='pnpm add -D' # PNPM Add Dev Package
alias pag='pnpm add -g' # PNPM Add Global Package
alias pb='pnpm build' # PNPM Create Bundle Package
alias pcl='pnpm config list' # PNPM Config List
alias pi='pnpm install' # PNPM Install from package.json
alias pid='pnpm install -D' # PNPM Install Dev Dependency
alias pig='pnpm install -g' # PNPM Install Global Package
alias pif='pnpm install --frozen-lockfile' # PNPM Lockfile not updated
alias pin='pnpm install --no-lockfile' # PNPM Lockfile not generated
alias pii='pnpm install --ignore-scripts' # PNPM Update Packages
alias pu='pnpm update' # PNPM Update Packages
alias pul='pnpm update --latest' # PNPM Update Packages Ignore Ranges
alias pug='pnpm update -g' # PNPM Update Packages
alias puf='pnpm update --frozen-lockfile' # PNPM Lockfile not updated
alias pun='pnpm update --no-lockfile' # PNPM Lockfile not generated
alias pui='pnpm update --ignore-scripts' # PNPM Update Packages
alias pur='pnpm update --recursive' # PNPM Update Packages
alias pr='pnpm run' # PNPM Run Script
alias prm='pnpm remove' # PNPM Remove Package
alias prmg='pnpm remove -g' # PNPM Remove Global Package
alias psp='pnpm store prune' # PNPM Remove Unreferenced Packages Store
alias prd='pnpm dev -o' # PNPM Run Dev
alias pl='pnpm lint' # Run Prettier & ESLint
alias plf='pnpm lintfix' # Run Prettier & ESLint, Fix Errors
alias pt='pnpm test' # PNPM Run Test
alias pau='pnpm audit' # PNPM Audit Vuln Deps
alias pauf='pnpm audit --fix' # PNPM Fix Vuln Deps
# Nuxt CLI Tool PNPM Aliases
alias pnx='pnpm nuxi' # Nuxt CLI Tool
alias pnxc='pnpm nuxi cleanup' # Nuxi Cleanup generated nuxt files and caches
alias pnxu='pnpm nuxi upgrade' # Nuxi Upgrade and Fix .nuxt & node_modules
# Nuxt CLI Tool Aliases
alias nx='nuxi' # Nuxt CLI Tool
alias nxc='nuxi cleanup' # Nuxi Cleanup generated nuxt files and caches
alias nxu='nuxi upgrade' # Nuxi Upgrade and Fix .nuxt & node_modules
alias nxd='nuxi dev -o' # Nuxi Run Dev and Open Browser
# Taskwarrior Aliases
alias t='task' # Taskwarrior
alias ta='task add' # Add Task to Taskwarrior
alias td='task delete' # Delete Task from Taskwarrior
alias tda='task purge' # Purge Tasks in Taskwarrior
alias ts='task start' # Start Task in Taskwarrior
alias tp='task stop' # End Task in Taskwarrior
alias tc='task done' # Complete Task in Taskwarrior
alias tm='task modify' # Modify Task Attribute
alias tl='task list' # List all Tasks
alias tlw='task entry.after:now-1wk list' # List Tasks created in the last Week
alias tlm='task entry.after:now-1m list' # List Tasks created in the last Month
alias tly='task entry.after:now-1y list' # List Tasks created in the last Month
alias tlc='task completed' # List all Tasks Completed
alias tlcw='task end.after:today-1wk completed' # List all Tasks Completed in the Last Week
alias tlcm='task end.after:today-1m completed' # List all Tasks Completed in the Last Month
alias tlcy='task end.after:today-1y completed' # List all Tasks Completed in the Last Year
# Git Bare Aliases
alias b='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME' #Git Bare
alias bl='lazygit --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME' # Lazygit Bare Repo
alias ba='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME add' # Git Bare Add
alias bam='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME commit -pm' #Git Bare Commit Patch Message
alias bs='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME status' # Git Bare Status
alias bsu='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME submodule update --remote' # Git Bare Submodule Update
alias bsum='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME submodule update --remote --merge' # Git Bare Submodule Update Merge
alias bad='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME diff' # Git Bare Diff
alias bpu='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME push --recurse-submodules=on-demand' # Git Bare Push Update Submodules
alias bpl='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME pull --recurse-submodules' # Git Bare Pull
alias bcd='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME checkout dev --recurse-submodules' # Git Checkout Dev
alias bcm='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME checkout main --recurse-submodules' # Git Checkout Main
alias blog='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset"' # Git Bare Log Graph Pretty
alias bmd='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME checkout main --recurse-submodules && git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME merge --no-ff -m "Merge branch '\''dev'\''" dev' # Git Bare Checkout Main & Merge Dev into Main
alias bmm='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME checkout dev --recurse-submodules && git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME merge main && git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME push' # Git Bare Checkout Dev & Merge Main into Dev
alias buc='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME assume-unchanged' # Git Bare Assume Specified File(s) Unchanged
alias bch='git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME assume-changed' # Git Bare Assume Specified File(s) Changed
# Git Aliases
alias gan='git add -N' # Git add --intent-to-add
alias gmd='git checkout test && git merge dev --no-ff -m "Merge branch '\''dev'\''" dev' # Git Chechout Test & Git Merge Dev into Test With Message
alias gmt='git checkout main && git merge test --no-ff -m "Merge branch '\''test'\''"' # Git Chechout Main & Git Merge Dev into Main With Message
alias gmm='git checkout dev && git merge main && git push && git checkout test && git merge main && git push && git checkout dev' # Git Chechout Dev & Git Merge Main into Dev & Test
alias gcpm='git commit -pm' # Git Commit Patch Message
# Safe File Management Aliases
alias mv='mv -i' # Move File Safely
alias cp='cp -i' # Copy File Safely
alias rm='rm -i' # Remove File Safely
# Fancy ls Aliases
# alias ls='logo-ls'
alias l='logo-ls -D' # Fancy ls
alias la='logo-ls -lAh' # Fancy ls -a
alias ll='logo-ls -lh' # Fancy ls -l
alias ls='ls --color=tty'
alias lsa='logo-ls -AD' # Fancy ls -a
alias lsl='logo-ls -lhA' # Fancy ls -l
#Random Aliases
alias uwu='nala upgrade -y' # Nala upgrade -y
alias uu='apt update && apt upgrade'
alias ur='pkg --check-mirror update' # Update Repositories
alias 10k='p10k configure' # Configure Powerlevel10k
alias ou='omz update' # Manually Update Oh My Zsh
alias e='nvim' # A highly customizable editor
alias tm='tmux new-session -A -s TERMUX' # Terminal Multiplexer
alias ghb='cd ~/GitHub' # Jump to GitHub Projects
alias ct='clear' # Clear Terminal
alias cl='zsh /data/data/com.termux/files/usr/etc/motd/init.sh && tmux clear-history' # Clear Terminal Fancily
alias zj='zellij' # Zellij Terminal Multiplexer
alias zt='zellij attach termux'
alias tm='tmux new-session -A -s TERMUX'
alias ff='fastfetch' # Fastfetch
alias cd='z' # Zoxide
alias lg='lazygit' # Lazygit
alias q='exit' # Exit Terminal