Commit graph

90 commits

Author SHA1 Message Date
ItsDrike 946589562d
Update comments in env vars definitions 2023-07-23 00:12:55 +02:00
ItsDrike 3036faee22
Prefer nvim as MANPAGER, if available 2023-04-24 13:09:26 +02:00
ItsDrike 312e27aa6b
Use zsh in profile 2023-04-10 15:50:01 +02:00
ItsDrike f0f6336b4e
Add fallback to xinit if hyprland isn't installed 2023-04-10 15:49:49 +02:00
ItsDrike 921590323f
Add some more configuration aliases 2023-02-17 11:26:23 +01:00
ItsDrike bd5ef1bef4
Rework zsh config and use zgenom for plugins 2023-02-09 13:09:37 +01:00
ItsDrike 947b3a84c0
Add aliases for rm -r and rm -rf 2023-02-02 23:26:54 +01:00
ItsDrike 12b77dfa2f
Don't use trash-put by default for rm 2023-02-02 23:26:45 +01:00
ItsDrike 681427ad9a
Use ifconfig.me instead of ifconfig.co for ip obtaining 2023-02-02 22:53:12 +01:00
ItsDrike 7c735df204
Export RANDFILE to follow XDG dirs 2023-02-02 22:04:05 +01:00
ItsDrike 9ce557ba05
Make parallel follow XDG base dir 2022-11-20 03:15:58 +01:00
ItsDrike a89c25abb2
Remove extra aliases 2022-11-20 03:15:57 +01:00
ItsDrike 27b9e0ea42
Update sudo askpass to menupass 2022-11-20 03:15:56 +01:00
ItsDrike 5a086c6ec7
Update aliases 2022-11-20 03:15:56 +01:00
ItsDrike a3e01caebf
Initial commit 2022-11-20 03:14:18 +01:00
ItsDrike b912871070
Remove everything and restart blank
This commit removes all files currently present in the repo, to prepare
for a start from a nothing. This is done due to my recent migration from
X11 to Wayland, which has rendered most of these config files no longer
releveant.

I've currently been tracking my dotfiles in a separate repository, in
hopes to get it to a state where it would be mergable here, but that
turned out to be much more difficult than I anticipated, and I think it
will be much easier to simply move over the history from this temporary
repository I've been using onto this one. That however requires a start
from a clean point, which this commit creates.
2022-11-20 03:07:41 +01:00
ItsDrike a5383a949d
Add some more XDG environmental variables 2022-09-14 11:25:23 +02:00
ItsDrike fcdd9df1a6
Store timestamps in command history 2022-08-23 10:53:33 +02:00
ItsDrike 6290f43d93
Export RUSTUP_HOME 2022-08-18 13:25:34 +02:00
ItsDrike ee35ca5d07
Export cargo home 2022-08-18 13:25:02 +02:00
ItsDrike 6074a994ef
Add quotes for pyenv_root 2022-08-18 13:24:52 +02:00
ItsDrike f62bb6d3be
export $FILEMANAGER 2022-08-18 13:24:33 +02:00
ItsDrike aacb10fdf9
Add global alias for env var prefix 2022-06-02 16:55:30 +02:00
ItsDrike 7e087b1c07
Fix wrongly defined zsh substitution 2022-06-02 16:55:08 +02:00
ItsDrike 26ae50db18
Add diff program env variable 2022-05-30 01:26:52 +02:00
ItsDrike 480baf8da7
Automatically define pyenv python aliases 2022-05-29 01:15:40 +02:00
ItsDrike 1ca0abc29c
Add pyenv 2022-03-30 11:12:09 +02:00
ItsDrike 75fbd46888
Fix gchb alias 2022-01-04 01:03:18 +01:00
ItsDrike f1f8946139
Add alias to search pacnew files 2022-01-04 01:03:05 +01:00
ItsDrike 18ba4c4906
Fix keybinds 2021-12-24 02:42:04 +01:00
ItsDrike c1af932797
Remove unnecessary env variables 2021-12-18 18:10:18 +01:00
ItsDrike abac53fa9f
Update comments 2021-12-18 18:10:04 +01:00
ItsDrike 826cef4e6e
POSIX compliance, shellcheck 2021-12-18 18:09:25 +01:00
ItsDrike d843e90462
Use spaces instead of tabs 2021-12-18 18:07:47 +01:00
ItsDrike b07404d669
Use POSIX-compatible sh, not zsh 2021-12-18 12:04:41 +01:00
ItsDrike 09ce7d00a9
Convert tabs to spaces 2021-12-18 12:04:28 +01:00
ItsDrike 752fd36c62
Fix pip aliases for cpython/pypy
- We can't simply define `pip3.6`,... because the aliases support both
  cpython and pypy version, which means these needs to differ. For that
  reason, I decided to use `ppip3` for pypy and `pip3` for cpython.
  However there's also an option to use the full version like this:
  `pypy3pip` or `py3.7pip`.
2021-12-18 11:49:37 +01:00
ItsDrike 5432334da6
Simplify python alias creation 2021-12-18 05:48:36 +01:00
ItsDrike 02237fd0b1
Don't re-run work_directory function
- Re-reunning work_directory every time we redraw the prompt isn't
  necessary, since the function is here to generate the zsh supported
  syntax for the prompt that will get expanded into a work directory
  automatically.
- The function is only here to determine whether we're in TTY and use
  ASCII compatible symbols if we are, however it is enough to only check
  this once initially, since we can't leave TTY in favor of a graphical
  instance without reloading the rc file and neither can we leave.
- However, this function also checks for `USE_SHORTENED_WORKDIR`
  variable and decides which prompt to show based on it. This means that
  it someone was setting this variable in their profile file it would
  now no longer be respected, however this was never the intention of
  that variable, if a change is desired, the variable should simply be
  edited in the prompt file directly.
- Removing continual calls to this function each time prompt is redrawn
  is worth the very minor inconvenience of no longer supporting
  shortened workdirs from externally set variable due to the speed
  benefit it gives us, though not that noticeable, it is pretty
  significant. Not to mention that this wasn't intended/recommended
  usage anyway.
2021-12-18 04:46:02 +01:00
ItsDrike d048c2a262
Also add ppy alias for default pyhton version 2021-12-18 03:21:23 +01:00
ItsDrike 754bbcbbd6
Also add ppy and ipy aliases
- py alias should always preferably use ipython, however if it isn't
  available, it does fall back to the pure python interpreter.
- This is useful for running scripts since we would prefer ipython error
  output, but also for debugging, etc.
- However since py will use ipython, we didn't have any good way to get
  back to pure python unless it's typed in it's full form, which is too
  long. Because of this, this adds `ppy` alias, which always points to
  the pure python interpreter, no matter if ipython is available or not.
- This also adds a more explicit `ipy` alias, to clearly mark that we
  want ipython.
2021-12-18 03:19:59 +01:00
ItsDrike 6f613a1ea5
Fix python aliases 2021-12-18 03:10:16 +01:00
ItsDrike c606650c7d
Add vimtutor alias for nvim 2021-12-18 03:02:39 +01:00
ItsDrike ac4b447bb5
Add aliases to quickly configure nvim 2021-12-18 03:02:26 +01:00
ItsDrike a0dfc5fd09
Add aliases for different python versions 2021-12-18 03:02:02 +01:00
ItsDrike bb0d435321
Add a note about dangers of using ↵ symbol 2021-12-15 22:09:43 +01:00
ItsDrike fd57706a2f
Minor fixes 2021-12-15 22:08:59 +01:00
ItsDrike 39a66f0e30
Hide errors if git status fails 2021-12-15 22:08:01 +01:00
ItsDrike 13c47143af
Add auth-log alias 2021-12-03 14:49:02 +01:00
ItsDrike b267b97c45
Add more git aliases 2021-12-01 19:58:56 +01:00