Commit Graph

23 Commits

Author SHA1 Message Date
~hedy e0d6b5e6f0
Shell: Update scripts, aliases and fish functions 2024-05-04 21:24:24 +08:00
hedy 7a6ad04f90
fish(alias cat): Don't use bat in place of cat 2023-10-26 22:13:12 +08:00
hedy f0e7282ef6
Fish: Selectively use bat for cat & Select default theme 2023-09-28 09:29:07 +08:00
hedy 29d991310e
Fish: Fix prompt for fish v3.4.1
Removed my own copy of prompt_pwd because fish keeps saying "-d: unknown
option". I hadn't changed anything in the function anyway, so it should
just use the built-in one in /usr/share/fish/functions and it should
work as before.
2022-04-03 01:54:43 +00:00
hedy e3adc49796
Fish: Fix ls function on NetBSD
Apparently `ls ''` shows an error:

ls: no such file or directory

TIL
2022-03-31 18:07:16 +08:00
hedy a046ab6c16
Fish: Make all tabs become spaces :P
With a tab stop of 4, of course.
2022-03-31 17:47:52 +08:00
hedy a9f520eacb
Fish: Don't use -GF for ls on NetBSD 2022-03-31 17:44:51 +08:00
Hedy Li 170857653a
Fish: Better looking prompt
- Prompt char being '>' instead of '$'
  Yes, just for the sake of having a little `~>` in my homedir :D
- Different color for the base dir in the prompt pwd section
- Right prompt of user@hostname and time

I've had this prompt for like MONTHS and this was sitting in my
uncommitted changes since then, lol.
2022-02-04 17:51:49 +08:00
Hedy Li e0f18f538b
add ls.fish because idk 2021-07-08 10:13:58 +08:00
Hedy Li 3404215bee switch nerdcommenter to vim-commentary for (n)vim 2021-06-13 12:30:32 +00:00
Hedy Li ea9e0a577c fish, _scripts/, bin/ 2021-04-18 13:23:25 +00:00
Hedy Li b83f86dd60 oops2 2021-04-17 06:46:15 +00:00
Hedy Li 3b84628a57 oops 2021-04-17 06:45:24 +00:00
Hedy Li c3554a0d72 add nv 2021-04-17 06:43:06 +00:00
Hedy Li 529c99aeb8 organise fish aliases 2021-04-16 05:11:09 +00:00
Hedy Li b81e2cae63 use command -sq instead of which 2021-01-29 13:20:38 +00:00
Hedy Li 9a6d08ea31 fish: rm functions cproj and cprac, modify config
Removed cproj and cprac because I use the 'pj' plugin now (omf)
Removed redundant setting of clean state char because it is already
set in fish_prompt
2021-01-01 17:02:58 +08:00
Hedy Li a0df9a6dcf update with yadm and add diff-so-fancy 2020-12-30 20:01:56 +08:00
Hedy Li 4854561039 update ll fish func and add ./sync 2020-12-26 08:21:55 +00:00
Hedy Li 3ee311b2c6 fix fish funcs 2020-12-25 19:50:50 +08:00
Hedy Li f8d2af1435 Update fish functions and readme 2020-12-25 05:49:37 +00:00
Hedy Li 511ff6e761 Refactored fish functions, bin/ and add license 2020-12-24 13:33:42 +00:00
Hedy Li 702b9bd25e i had to re init again nice 2020-12-24 10:30:03 +00:00