-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTerminal.txt
31 lines (27 loc) · 1.44 KB
/
Terminal.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1: Install Homebrew from brew.sh
2: Install fish shell by brew install fish
After that set Shells open with command /usr/local/bin/fish in Terminal preferences, General Tab
3: Change default shell to fish shell by chsh -s /usr/local/bin/fish
4: Install lolcat with brew : brew install lolcat
5: Install cowsay with brew : brew install cowsay fortune
7: Combine 4,5 Steps and import andinstall all brew softwares I've already installed : brew bundle (Downlod brewfile from repository and type command from the location where brewfile is copied Eg: copy brewfile to Downloads. Open Terminal in Downloads folder and type : brew bundle )
In our case : Either rename it to Brewfile, or run brew bundle --file=Brewfile.txt instead.
6: Add cowsay to startup of Terminal by : vim ~/.config/fish/config.fish
if status is-interactive
# Commands to run in interactive sessions can go here
function fish_greeting
set -l toon (random choice {default,bud-frogs,dragon,dragon-and-cow,elephant,moose,stegosaurus,tux,vader})
fortune -s | cowsay -f $toon | lolcat
echo Welcome _cafe_phile_
end
end
Screenshot is provided in the HomePage of this repository.
Bundle brew
// Shows all brew installs
Terminal -
1: brew bundle
2: brew bundle dump --describe
3: cat Brewfile
Bundle Usage:brew
1: https://gist.github.com/ChristopherA/a579274536aab36ea9966f301ff14f3f
2: https://sa.ndeep.me/post/how-to-backup-and-restore-your-homebrew-packages