Skip to content

Commit

Permalink
Merge pull request #1 from askz/patch-1
Browse files Browse the repository at this point in the history
Add aptitude and apt + bower
  • Loading branch information
AlexMili committed Nov 17, 2016
2 parents 1eda8cc + 09d49f2 commit 84d338f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions whatinstalled.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
history_file = os.path.expanduser("~")+"/.bash_history"
f = open(history_file,"r")

keywords = ["pip", "tar", "brew", "apt-get", "install", "luarocks", "easy_install", "gem", "npm"]
keywords = ["pip", "tar", "brew", "apt-get", "aptitude", "apt", "install", "luarocks", "easy_install", "gem", "npm", "bower"]

for line in f:
for item in keywords:
if item in line:
print(line[:-1])
break
break

0 comments on commit 84d338f

Please sign in to comment.