Commit graph

10 commits

Author SHA1 Message Date
4638e90a7d
zsh: Make 'nocomment' alias filter comments with prefixed whitespaces 2021-07-25 21:29:40 +02:00
65c1ef4616
aliases: Self-documentation by using long flags 2021-07-21 09:19:03 +02:00
c4e992ab98
zsh: Change how updatealias reloads zsh
Seems like reloading zsh via sourcing .zshrc is a bad idea [1]. The best
way seems to be to completely restart zsh or at least use 'exec zsh'.

[1] https://github.com/romkatv/powerlevel10k#weird-things-happen-after-typing-source-zshrc
2021-07-12 17:22:45 +02:00
91b3c76407
zsh: Extract functions from aliases.zsh 2021-07-12 16:03:02 +02:00
ba7030ab73
zsh: Update ls/exa aliases
This will add an additional alias `l.` to only show dotfiles and
directories.

Additionally the `--classify` flag [1] is added to all ls/exa commands which
will append a specific character to the listed files according to the
filetype.

[1] https://the.exa.website/features/colours#classify
2021-07-11 13:07:13 +02:00
b86457a641
zsh: Add flags for du
This changes the output to be human-readable.

Additionally du will now only check 2 levels deep (can be overridden by
explicitly setting `-d <depth>`).
2021-07-10 17:05:21 +02:00
638712aeb0
zsh: Remove kitty specifics 2021-07-10 17:02:00 +02:00
c5534762ed
Add firefox alias, add activeHosts function 2021-05-23 10:23:44 +02:00
679375e1b5
Consistently use $HOME 2021-04-16 12:04:55 +02:00
8b232cc2e6
Initial commit 2021-04-02 19:06:33 +02:00