From f3bc7145e4e0e051864c12babed800fe695d0e12 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 18 Jan 2016 18:21:57 +1100 Subject: [PATCH] Readme --- Readme.md | 7 +++++-- fetch | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 526bd784..08ec7b1d 100644 --- a/Readme.md +++ b/Readme.md @@ -15,9 +15,9 @@ about your system and prints it to the terminal next to an image of your choice! ## Features -- **Supports Linux, Mac OS X and Windows (Cygwin)!** +- **Supports Linux, Mac OS X, \*BSD and Windows (Cygwin)!** - If the script isn't working on your system open an issue. - - *BSD support is currently in testing! See issue #10 + - *BSD support is currently in testing! See issue [#10](https://github.com/dylanaraps/fetch/issues/10#issuecomment-172432389) - **It's Fast** - The script makes heavy use of bash builtins and
string manipulation. - **Display an image next to the info. (or don't!)** @@ -294,6 +294,8 @@ Here's what's on my todo list - Add Windows resolution detection +- Add BSD cpu speed + - Look into iterm2 image rendering - Cleanup of info array handling @@ -310,6 +312,7 @@ Here's what's on my todo list - IP - etc + diff --git a/fetch b/fetch index 6c26326e..094f5805 100755 --- a/fetch +++ b/fetch @@ -274,7 +274,7 @@ case "$(uname)" in os="OpenBSD" ;; - *"BSD" | "DragonFly") + *"BSD") os="BSD" ;; @@ -312,7 +312,6 @@ case "$os" in "BSD") distro="$(uname -v)" distro=${distro%% *} - distro=${distro/DragonFly/DragonFlyBSD} ;; "Windows") @@ -566,6 +565,7 @@ getcpu () { ;; *"BSD") + # TODO: Cpu speed for other BSD distros cpu="$(sysctl -n hw.model)" ;;