SHOW:
|
|
- or go back to the newest paste.
1 | Special bb Fish shell write up | |
2 | install fish server start it up........................... | |
3 | ||
4 | echo $SHELL | |
5 | ||
6 | nano ~/.config/fish/config.fish | |
7 | ||
8 | if status is-interactive | |
9 | ||
10 | # Commands to run in interactive sessions can go here | |
11 | ||
12 | end | |
13 | ||
14 | ||
15 | ||
16 | function fish_prompt | |
17 | ||
18 | ||
19 | ||
20 | # interactive user name @ host name, date> | |
21 | ||
22 | ||
23 | ||
24 | # Print "$(date)" to magenta color | |
25 | ||
26 | - | end |
26 | + | |
27 | ||
28 | echo -e "\e[35m$(date)\e[0m" | |
29 | ||
30 | ||
31 | ||
32 | echo (pwd) | |
33 | ||
34 | ||
35 | ||
36 | # Print "Th3 GardeN oF D34D₹⁰S3S ♠️🌹....." in Red color | |
37 | ||
38 | ||
39 | ||
40 | echo -e " \e[34mTh3 GardeN oF D34D₹⁰S3S ♠️🌹... | |
41 | ||
42 | [~]:#\e[0m " | |
43 | ||
44 | ||
45 | ||
46 | end | |
47 | ||
48 | Spades (bbs) fishing below....... | |
49 | ||
50 | ||
51 | if status is-interactive | |
52 | # Commands to run in interactive sessions can go here | |
53 | end | |
54 | ||
55 | function fish_prompt | |
56 | ||
57 | # interactive user name @ host name, date> | |
58 | ||
59 | # Print "$(date)" to magenta color | |
60 | ||
61 | echo -e "\e[35m$(date)\e[0m" | |
62 | ||
63 | # Print "(pwd)" to yellow color | |
64 | ||
65 | echo -e "\e[33m$(pwd)\e[0m" | |
66 | ||
67 | # Print "Jack's gone fishing..." in blue color | |
68 | ||
69 | # Print ":#" in green color | |
70 | ||
71 | # Print "~" in green color | |
72 | ||
73 | echo -e " \e[34mJack's gone fishing... | |
74 | [\e[32m~\e[0m\e[34m]\e[32m:#\e[0m " | |
75 |