Skip to content

Add cool.sh dotfile with aliases and shell utilities#7

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/add-cool-file-again
Draft

Add cool.sh dotfile with aliases and shell utilities#7
Copilot wants to merge 2 commits intomasterfrom
copilot/add-cool-file-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

Adds cool.sh as a new dotfile providing a curated set of shell aliases and utility functions suitable for sourcing in .zshrc.

What's included

  • ASCII banner — prints a "COOL" greeting with username and date on source
  • Aliases — navigation (.., ...), colorized ls, safety-net rm/cp/mv, git shortcuts (gs, gl, gd, gp, gpl), and network helpers (myip, ports)
  • Functions
    • mkcdmkdir -p + cd in one step
    • weather [city]wttr.in one-liner
    • extract <file> — dispatcher for all common archive formats (.zip, .tar.gz, .7z, etc.)
    • timeit — wraps time
    • note [text] — appends timestamped notes to ~/notes.txt, or prints all notes when called with no args

Source via .zshrc:

source ~/dotfiles/cool.sh
Original prompt

Add a cool file

Created from VS Code.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add a cool file Add cool.sh dotfile with aliases and shell utilities Mar 26, 2026
Copilot AI requested a review from lostintangent March 26, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants