李通洲
95b64622c4
Terminal (Linux): fix detection
2024-01-13 23:39:17 +08:00
apocelipes
269ad36df5
refactor(TerminalShell): changing recursion into loops
2024-01-12 23:56:04 +08:00
李通洲
22cdb1247f
TerminalShell: tidy; use case senstive string comparation where meaningful
2024-01-12 21:21:42 +08:00
李通洲
905ed76ddd
TerminalShell: split terminal and shell detection code further
2024-01-12 20:58:45 +08:00
李通洲
6da57d64c3
TerminalShell: split terminal detection and shell detection
2024-01-12 16:44:19 +08:00
Souma
cae4b1c657
chore(terminalshell_linux.c): Ignore cwterm as well as figterm
...
Since CodeWhisperer overrides the terminal environment.
2023-12-31 18:19:04 +08:00
apocelipes
113b1b8fc2
fix: fix trailing space
2023-12-23 02:55:14 +00:00
李通洲
224a6a9881
TerminalShell: code cleanup
2023-12-15 14:29:51 +08:00
李通洲
0555fb97e8
TerminalShell (Linux): tidy
2023-12-12 09:51:09 +08:00
apocelipes
0662af17f4
fix(TerminalShell): fix reading procfs files
2023-12-04 19:47:34 +08:00
apocelipes
1431cdcc83
fix(Terminal): make fastfetch works under ltrace and perf
...
Fastfetch incorrectly displays the terminal name as
"ltrace" or "perf" when debugging itself with ltrace and perf.
minor fix: remove duplicated ffStrbufClear since getShellVersion
already called it.
2023-11-28 23:22:51 +08:00
Marius Messerschmidt
40e977be31
Spelling: fix spelling of files in src/detection/
2023-11-18 15:47:22 +01:00
李通洲
413984963e
TerminalShell: support oils and elvish
2023-11-15 16:30:46 +08:00
李通洲
f93341ac61
TerminalShell: fix terminal name detection on NixOS
...
oops. No one report that...
2023-11-08 09:02:52 +08:00
李通洲
761c649817
TerminalShell: better support for environment running with su
2023-11-01 08:55:00 +08:00
李通洲
5b2006cd06
Global: get rid of locks
...
Psychological burden NO MORE
2023-10-31 14:42:45 +08:00
李通洲
bf1d1cbac5
Terminal: support urxvt version detection
2023-10-24 15:56:43 +08:00
李通洲
533231825c
Terminal (Linux): detect tmux: server as tmux
2023-10-24 10:20:41 +08:00
李通洲
40e2787d94
Revert "Terminal (Linux): better support for tmux"
...
This reverts commit 281af9c86f .
2023-10-24 10:09:43 +08:00
李通洲
281af9c86f
Terminal (Linux): better support for tmux
2023-10-23 23:38:18 +08:00
李通洲
e4a6bf17e4
Terminal: support kgx (gnome console)
...
Fix #577
2023-10-08 09:51:32 +08:00
李通洲
4c96d0453e
TerminalShell (Linux): add ash as a known shell
2023-10-07 15:15:24 +08:00
李通洲
6c1b39ae60
Shell (FreeBSD): remove trailing \0
2023-09-16 20:46:49 +08:00
李通洲
7dfc0d8e60
Shell: don't detect user shell
2023-09-13 17:36:39 +08:00
李通洲
3483673ef7
Terminal (Android): fix termux detection
2023-09-03 20:57:23 +08:00
李通洲
3692e49e9b
TerminalShell: correctly set PATH_MAX on Linux
2023-09-02 10:05:30 -04:00
李通洲
28c01599d5
Platform: add $EXE_PATH/../share to dataDir
...
Support loading presets when fastfetch is installed in a special path. eg. `/opt/homebrew/bin/`
2023-08-24 11:14:51 +08:00
李通洲
125759dc75
Terminal: correctly detecting version and font on NixOS
2023-08-19 10:02:07 +08:00
李通洲
97f3860d1e
TerminalFont: Fix #510
...
2rd try
2023-08-05 23:08:47 +08:00
李通洲
16aedae843
TerminalFont: detect .kitty-wrapped as kitty
...
Fixes #510
2023-08-05 20:33:45 +08:00
李通洲
9e64e66254
TerminalShell: don't detect *.sh as shell or terminal
...
Fixes #366
2023-07-31 22:34:10 +08:00
李通洲
841be619ba
Global: use ffStrbufInitStatic
2023-07-25 17:35:09 +08:00
李通洲
e685a00a4b
FFstrbuf: remove ffStrbufRemoveStringsV; rename ffStrbufRemoveStringsA to ffStrbufRemoveStrings
2023-07-25 17:35:09 +08:00
李通洲
493824113b
Shell: support ksh version detection
2023-07-20 16:11:02 +08:00
李通洲
eea70020c3
Terminal (macOS): fix compatibility with Fig
2023-07-16 20:39:55 +08:00
李通洲
ddc55d70a7
Terminal (Linux): don't assume conhost in WSL
2023-07-16 19:22:58 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
9794c4b78f
CI: fix build
2023-06-22 13:14:38 +08:00
Carter Li
26978b7d48
Terminal (Linux): print gnome-terminal-server as gnome-terminal
2023-06-22 02:05:40 +00:00
Linus Dierheimer
fc12494ac1
Adapt to new repository url
2023-06-12 17:26:37 +02:00
李通洲
40a1f75895
TerminalShell: remove --terminal-version and --shell-version
2023-06-12 15:03:56 +08:00
李通洲
13ae9aff44
Terminal: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
786d538276
Shell: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
李通洲
0a979ddd1e
TerminalShell: fix iTerm being detected as iTermServer-* sometimes
2023-05-24 14:50:39 +08:00
李通洲
e45c4b49fd
TerminalShell: support xonsh
2023-05-24 14:50:37 +08:00
李通洲
e29169711c
TerminalShell (Linux): tidy
2023-02-14 16:33:58 +08:00
Linus Dierheimer
a063cd4feb
Correctly handle zfs pools
...
#413
2023-02-01 15:56:25 +01:00
李通洲
a14ef06d14
TerminalShell (Windows): fix a rare case that fails to detect terminal
2023-01-29 23:29:53 +08:00
Linus Dierheimer
a1ea7804f3
IO: Separate platform specific implementations
2023-01-28 12:40:12 +01:00