Update configuration to reflect current setup

This commit is contained in:
Riz Ashraf
2026-02-23 03:02:20 +00:00
parent 8cc68fef1d
commit 691a8dfd29
6 changed files with 38 additions and 16 deletions
+24 -3
View File
@@ -2,12 +2,33 @@ local function alias(short, long)
os.execute('doskey ' .. short .. '=' .. long)
end
alias('ls', 'dir $*')
-- File listing (using eza)
alias('ls', 'eza --icons --git --color=always $*')
alias('ll', 'eza -l --icons --git --color=always $*')
alias('la', 'eza -la --icons --git --color=always $*')
alias('lt', 'eza --tree --icons $*')
-- Modern tools replacements
alias('cat', 'bat $*')
alias('vi', 'nvim $*')
alias('rdp','mstsc /v:$*')
alias('grep', 'rg')
alias('grep', 'rg $*')
alias('find', 'fd $*')
alias('top', 'btm $*')
alias('du', 'dust $*')
alias('df', 'duf $*')
-- Utilities
alias('rdp','mstsc /v:$*')
alias('jdk8home', 'set JAVA_HOME=%PROGRAMFILES%\\Java\\jdk-1.8')
alias('jdk8home32', 'set JAVA_HOME=C:\\Program Files (x86)\\Java\\jdk-1.8')
alias('jdk21home', 'set JAVA_HOME=%PROGRAMFILES%\\Java\\jdk-21')
-- Git aliases
alias('ga', 'git add $*')
alias('gc', 'git commit -m $*')
alias('gp', 'git push $*')
alias('gl', 'git pull $*')
alias('gs', 'git status $*')
alias('gd', 'git diff $*')
alias('gb', 'git branch $*')
alias('gco', 'git checkout $*')