Commit Graph

63 Commits

Author SHA1 Message Date
Ilan Cosman
b852cdf8d6 Escape regex truncated inputs (fixes #438) 2023-09-08 14:31:16 -07:00
Ilan Cosman
3b1137b4b3 Remove unnecessary set 2023-07-18 10:58:35 -07:00
Ilan Cosman
69c3c24e3c Glob only for dirs 2023-07-13 16:50:50 -07:00
Ilan Cosman
1b2c9d6093 Just do a single glob for pwd 2023-07-13 16:27:06 -07:00
Ilan Cosman
447945d2cf Never truncate to just a dot (fixes #399) 2023-04-05 11:20:57 -07:00
Ilan Cosman
22c230c99e Fix parent dir bugs (#346), pwd bugs, add regression tests 2022-09-14 20:50:12 -04:00
Ilan Cosman
132dff77da Use path command in pwd 2022-07-29 17:39:08 -04:00
Ilan Cosman
844ebb6ee7 Use set -q instead of count and substitution 2022-05-30 09:43:30 -07:00
Ilan Cosman
ca38e563a0 Fix coloring bug 2022-05-06 17:34:16 -07:00
Ilan Cosman
bb50c9ecfa Cut out intermediate icon variable 2022-05-06 13:43:22 -07:00
Ilan Cosman
d5cc473304 Don't anchor the first directory 2022-05-06 13:33:32 -07:00
Ilan Cosman
1d81675fa0 Fix pwd icon in home dir bug 2022-03-11 16:09:15 -08:00
Ilan Cosman
d75e4be05a Rename var 2022-01-26 09:35:35 -08:00
Ilan Cosman
af7dc0e412 Minor edits 2022-01-25 11:16:29 -08:00
Ilan Cosman
26035be376 Quote 2022-01-19 08:24:38 -08:00
Ilan Cosman
919fba0429 Simplify PWD 2022-01-19 08:18:14 -08:00
Ilan Cosman
9ca7a9c507 Only replace $HOME with ~ if at beginning (fixes #250) 2022-01-19 07:13:20 -08:00
Ilan Cosman
3c824434b0 Simplify 2022-01-15 08:25:15 -08:00
Ilan Cosman
95f143dc51 Shorten and combine options 2022-01-12 10:24:41 -08:00
Ilan Cosman
adb6f33bfe Rename local variables 2022-01-05 13:50:08 -08:00
Ilan Cosman
ea0b386a0c Also eval _tide_pwd 2022-01-05 11:25:32 -08:00
Ilan Cosman
2d5474005c Further optimize pwd truncation 2021-12-22 14:59:52 -08:00
Ilan Cosman
7bc701c8b6 Minor edits 2021-12-14 13:40:26 -08:00
Ilan Cosman
e41aeecf9b Speed up pwd truncation algorithm 2021-12-09 22:56:17 -08:00
Ilan Cosman
49fd438267 Don't anchor if tide_pwd_markers is empty 2021-11-25 10:51:31 -08:00
Ilan Cosman
a6887068a7 Use for loop instead of command substitution 2021-11-25 10:08:41 -08:00
Ilan Cosman
28e1a8fa48 Minor refactor of pwd 2021-11-04 14:26:53 -07:00
Ilan Cosman
1edb196234 Minor edits 2021-10-26 10:50:54 -07:00
Ilan Cosman
b5369ce898 Fix bug where directory was shown as truncated, but wasn't 2021-10-18 09:46:46 -07:00
Ilan Cosman
5e614e460a Minor edits 2021-10-12 21:59:39 -07:00
Ilan Cosman
3a34269fde Minor edits 2021-09-30 09:17:51 -07:00
Ilan Cosman
6b26c69da8 Minor edits 2021-09-26 18:14:26 -07:00
Ilan Cosman
70d232c20a Minor edits 2021-09-24 16:51:22 -07:00
Ilan Cosman
d06f92e65f minor edits 2021-09-21 18:16:00 -07:00
Ilan Cosman
24a83c3098 Minor edits 2021-09-21 18:16:00 -07:00
Ilan Cosman
04b37f45a4 Compact math for greater speed 2021-09-21 18:16:00 -07:00
Ilan Cosman
0a93b0b8fc Use read when faster 2021-09-21 18:16:00 -07:00
Ilan Cosman
b9fda6bf92 Use visible string length (fixes #134) 2021-09-21 18:16:00 -07:00
Ilan Cosman
9c0ed1e4ce Add variable caching 2021-08-21 21:43:42 -07:00
Ilan Cosman
bd875fb85b Minor edits 2021-08-01 14:28:27 -07:00
Ilan Cosman
158b723a61 Fix spacing with pwd icon (fixes #180) 2021-07-22 10:01:50 -07:00
Ilan Cosman
54bf900104 Fix icon bug 2021-07-10 15:56:39 -07:00
Ilan Cosman
6c82bd249e Fix highlighting of directories like /foo/bar 2021-07-08 10:30:43 -07:00
Ilan Cosman
b90b041316 Use default name variables for pwd 2021-07-06 15:49:58 -07:00
Ilan Cosman
a110101b4e Minor improvements to pwd 2021-06-24 13:52:58 -07:00
Ilan Cosman
51fb1db7c3 Revert "Minor pwd edits"
This reverts commit 04220a92a5.
2021-06-24 13:41:53 -07:00
Ilan Cosman
04220a92a5 Minor pwd edits 2021-06-22 16:04:05 -07:00
Ilan Cosman
922098d3cf Fix pwd 2021-06-01 16:34:42 -07:00
Ilan Cosman
27c2d7754e Run pwd after other items (closes #131) 2021-05-29 17:11:46 -07:00
Ilan Cosman
5bd71efa45 More work on async 2020-11-23 14:56:52 -08:00