GitShow/sindresorhus/shell-history
sindresorhus

shell-history

Get the command history of the user's shell

by sindresorhus
Star on GitHubForknpm

JavaScript

86 stars12 forks5 contributorsQuiet · 8mo agoSince 2016v2.0.1MIT

Meet the team

See all 5 on GitHub →
sindresorhus
sindresorhus15 contributions
KELiON
KELiON1 contribution
TheBrenny
TheBrenny1 contribution
Richienb
Richienb1 contribution
rocktimsaikia
rocktimsaikia1 contribution

Languages

View on GitHub →
JavaScript85.6%
Batchfile14.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
dongggcom
ZSH history file can't be compatible in ChineseClosedIssue

refer: https://www.zsh.org/mla/users/2011/msg00154.html When you read zsh history for some chinese word, it will give a mistaken code like '迃�惸�一段中惶��' try this

dongggcom · 8mo ago
dongggcom
Fix on Chinese decode mistake (#9)MergedPR
dongggcom · 2y ago
TheBrenny
Improve Windows compatibilityMergedPR

Added a method to acquire the session history on windows. It doesn't get the history, and also doesn't check to see if the user has a HISTFILE environment variable. But I don't know if any windows user actually has one for CMD. This won't work if invoked through PowerShell though, because PS uses the history command. 🙏

TheBrenny · 5y ago
Structured data for AI agents

Repository: sindresorhus/shell-history. Description: Get the command history of the user's shell Stars: 86, Forks: 12. Primary language: JavaScript. Languages: JavaScript (85.6%), Batchfile (14.4%). License: MIT. Latest release: v2.0.1 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 8mo ago. Community health: 71%. Top contributors: sindresorhus, KELiON, TheBrenny, Richienb, rocktimsaikia.

·@ofershap

Replace github.com with gitshow.dev