From 960a05363ae9c0b767d57405cfffe9f8a6b021cd Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 21 Feb 2026 17:11:05 -0500 Subject: refactor(zsh): Restructured common shell files Restructured common shell files to be in a utils directory. Operating System specific files are in the util/OS_NAME/ directories. --- .config/shells/aliasrc | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100755 .config/shells/aliasrc (limited to '.config/shells/aliasrc') diff --git a/.config/shells/aliasrc b/.config/shells/aliasrc deleted file mode 100755 index bc27955..0000000 --- a/.config/shells/aliasrc +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -# OpenBSD does not have the -G flag -if [[ "$(uname -s)" == "OpenBSD" ]] -then - alias \ - la="ls -Ah" \ - ls="ls -h" \ - l="ls -lAh" -# Linux has --color -elif [[ "$(uname -s)" == "Linux" ]] -then - alias \ - la="ls -Ah --color" \ - ls="ls -h --color" \ - l="ls -lAh --color" -# macOS has -G -else - alias \ - la="ls -AhG" \ - ls="ls -Gh" \ - l="ls -lAhG" -fi - -alias \ - cp="cp -v" \ - rm="rm -v" \ - mv="mv -v" \ - vim="nvim" \ - ..="cd .." \ - ...="cd ../.." \ - .3="cd ../../.." \ - .4="cd ../../../../" \ - .5="cd ../../../../.." \ - zshup="source $HOME/.config/shells/zsh/.zshrc" \ - gc="git clone" \ - gu="git add -u" \ - ga="git commit -a" \ - gp="git push" \ - m="micro" \ - v="nvim" \ - python="python3.10" \ - pip="pip3.10" \ - lf="lfub" - -- cgit v1.2.3