blob: eb88a614887a659e7d058e9bdb6800664a60dd4f (
plain)
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
32
33
34
35
|
Linux comes in many flavors. You may have heard of Ubuntu, it's not a bad choice, but I prefer something very similar called Debian. Debian is actually the base that Ubuntu is built on. Since we don't need a fancy desktop or any of that stuff we'll just stick with Debian. It's the most popular server OS on the web by a wide margin so we're not really going out on a limb here.
If you picked Digital Ocean, here's what the setup screen looks like:
Wait, you said we'd install a fully custom server...
Patience my friend. Let's start with something basic, like getting WordPress up and running. Do I like WordPress? Not really, but it's popular
Start with the problem
Then the dream
Then the solution
With Bash if we want to auto-complete when we're changing directories with `cd` we have to type the first few letters of the directory name before tab auto-completes anything. It offers a list of all the directories available, but it doesn't actually complete anything. With zsh you can hit tab twice and it will auto-complete the first directory in the directory you're in. In other words hit tab twice in Zsh and it will auto-complete the first thing you'd see if you typed `ls`. Hit tab again and it moves to the next directory and so on.
Zsh also autocomplete things like git and even flags, for example, here I just
spelling set autocorrections
syntax highlighting (valid commands are green
Zsh goes one better. You can type part of a command and press <UP>
It finds the last command we typed starting with ‘ls’. We could continue pressing up to cycle if we wanted.
|