DsBash
Your smart organized Linux & MacOSX bash configurations
Install / Use
/learn @DeaDSouL/DsBashREADME
IMPORTANT
The repository has been moved to GitLab.com/DeaDSouL/dsBash.
dsBash
Your smart organized Linux & MacOSX bash configurations
Author
Author: Mubarak Alrashidi (DeadSouL) Package: dsBash
Source note:
I'm using the Vim's marker method to fold/unfold sections in the source code. To enable it, edit any file with Vim, then type:
:set foldmethod=marker
To toggle folding use za.
The idea of dsBash
To have an easy way to setup your bash environment cross your Linux distros and MacOSX to act the way you used to, and have your custom aliases
dsBash files:
Has two main types:
1. `alias`: which will contain your aliases, categorized in 3 sections
A. Aliases that would work on `Linux`, should be in `alias.linux`
B. Aliases that would work on `MacOSX`, should be in `alias.mac`
C. Aliases that would work on both `Linux` and `MacOSX`, should be in `alias.maclin`
2. `bashrc` which will contain your bashrc
The same concept of `aliases` applies to `bashrc.linux`, `bashrc.mac` and `bashrc.maclin`
After installation, it will automatically detect your operating system and loads the right `aliases` and `bashrcs`
So that it can work fine on both `Linux` and `MacOSX`.
Installation
Once you cloned the repo, do the following
-
Modify
PATH/TO/dsBash/bashrc:and set your terminal's background whether it's
lightordark -
Install
dsBash:$ PATH/TO/dsBash/./install.sh
That's it :)
How to use it?
To list all available aliases:
$ ds.alias_all
To list which OS aliases are being loaded:
$ ds.alias_loaded
To list the loaded Linux aliases:
$ ds.alias_linux
To list the loaded MacOSX aliases:
$ ds.alias_mac
To list the loaded MacLin aliases:
$ ds.alias_maclin
To search through loaded aliases:
$ ds.alias_search [KEYWORD]
E.g: Searching for keyword 'kill':
$ ds.alias_search kill
ds.k9 : Kill 9 process by process-id.
ds.k9n : Kill 9 process by process-name.
ds.k9user : Kill 9 user by user-name.
Finally,...
Enjoy :)
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
