sudo pacman -Syu zsh
You do not need to install manjaro-zsh-config
and all the other related packages like zsh-syntax-highlighting
, zsh-history-substring-search
, zsh-autosuggestions
, etc., as we will use Oh My Zsh.
1 │ #!/bin/bash | |
2 │ | |
3 │ path=$1 | |
4 │ days=$2 | |
5 │ | |
6 │ # verify if path and days are set | |
7 │ if [ -z $path ] || [ -z $days ]; then | |
8 │ echo "Usage: $0 path_to_folder file_age_in_days" | |
9 │ exit 1 | |
10 │ fi |
import java.time.LocalDate | |
import java.time.Period | |
import kotlin.system.exitProcess | |
fun main() { | |
println("Please insert your birthday in this format: yyyy-MM-dd") | |
readLine().takeUnless { | |
it.isNullOrBlank() || it.isEmpty() | |
}?.let { | |
LocalDate.parse(it) |
#!/bin/bash | |
# Install Nano Editor (https://www.nano-editor.org) with syntax highlighting on the Mac | |
# Version 4.0 ("Thy Rope of Sands") released March 24th 2019 | |
cd ~/ | |
wget https://www.nano-editor.org/dist/v4/nano-4.0.tar.gz | |
tar -xvf nano-4.0.tar.gz | |
mv nano-4.0 .nano | |
cd .nano/ |
sudo pacman -Syu zsh
You do not need to install manjaro-zsh-config
and all the other related packages like zsh-syntax-highlighting
, zsh-history-substring-search
, zsh-autosuggestions
, etc., as we will use Oh My Zsh.