summaryrefslogtreecommitdiff
path: root/.config/shells/aliasrc
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 17:11:05 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 17:11:05 -0500
commit960a05363ae9c0b767d57405cfffe9f8a6b021cd (patch)
tree41aca6d3abd2aa7408b2c24f4f9ff0c08ad475cb /.config/shells/aliasrc
parent8276fb9c65e40605f7d56dac3326b3f9f90c615d (diff)
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.
Diffstat (limited to '.config/shells/aliasrc')
-rwxr-xr-x.config/shells/aliasrc45
1 files changed, 0 insertions, 45 deletions
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"
-