diff options
Diffstat (limited to 'cmd/draft_edits.txt')
-rw-r--r-- | cmd/draft_edits.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cmd/draft_edits.txt b/cmd/draft_edits.txt new file mode 100644 index 0000000..eb88a61 --- /dev/null +++ b/cmd/draft_edits.txt @@ -0,0 +1,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. |