Go to file
2024-03-21 16:02:35 +00:00
2024-03-21 16:02:35 +00:00
2024-03-21 16:10:19 +00:00
2024-03-21 16:02:35 +00:00
2024-03-21 16:02:35 +00:00
2024-01-03 15:40:55 +00:00
2024-03-21 16:02:35 +00:00

Trude's Dotfiles for Linux and MacOS

Run ./linux.sh or ./macos.sh.

Dependencies

Linux

  • Gnome Console / Terminal (kgx; For some scripts only.)
  • Gnome Desktop
  • Arch or Debian-based distro.

MacOS

  • None (HomeBrew will be installed if p is called.)

Scripts

Custom commands

  • p - Cross-distro package manager wrapper.
    • Written in bash for Linux, using the system's package manager.
    • Written in ZSH script for MacOS, as a function that calls brew.
  • m - Cross-distro maintenance script.
    • Replaced by p m on MacOS (for updating MacOS itself).

Custom scripts used by other programs

  • p.sh - For managing packages on Linux systems.
  • colors.sh - To add colors to other scripts. Also works on MacOS.

Todo

  • Automatically install extensions (GNOME)
    • Vitals
    • Dash to Dock
    • AppIndicator Support

MacOS Commands (built-in)

Password-protected Zip:

zip -e protected.zip /file/to/protect/

Remove dotfiles:

dot_clean .

Show all files in finder:

defaults write com.apple.Finder AppleShowAllFiles 1

Search using Spotlight:

mdfind "file name”

Rebuild Spotlight index:

mdutil -E

Turn off Spotlight indexing:

dutil -i off

Repair Disk permissions:

sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /

Generate SHA-1 digest of a file:

/usr/bin/openssl sha1 download.dmg

Disable sleep temporarily:

caffeinate

Open multiple instances of a program:

open multiple instances open -n /Applications/Safari.app/

Check network speed:

networkQuality

Convert files (txt, html, rtf, rtfd, doc, docx):

textutil -convert html journal.doc
Description
No description provided
Readme MIT 831 MiB
Languages
CSS 49.9%
Vim Script 36.6%
Shell 13.5%