In order to test all oh-my-posh templates:
- Set in your
.zshrcfile:
source ~/test_script.sh- Save the script to the file
~/test_script.sh
In order to test all oh-my-posh templates:
.zshrc file:source ~/test_script.sh~/test_script.sh| version: "3" | |
| services: | |
| db: | |
| image: postgres:10.1 | |
| env_file: | |
| - postgres_env | |
| ports: | |
| - '5432:5432' | |
| restart: always |
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| require 'net/http' | |
| options = { | |
| last_ip_file: "/var/www/last_ip.txt", |
| # komendy do installacji na ubuntu | |
| GIT_NAME="bajorekp" | |
| GIT_EMAIL="[email protected]" | |
| sudo yum update | |
| sudo yum groupinstall -y development | |
| sudo yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs python35 | |
| # komendy do installacji na ubuntu | |
| GIT_NAME="bajorekp" | |
| GIT_EMAIL="[email protected]" | |
| # install Java 8 from oracle | |
| sudo apt-get update && \ | |
| sudo add-apt-repository -y ppa:webupd8team/java && \ | |
| sudo apt-get update && \ |
| rsync -azP --delete source_dir/ destination | |
| # -a (archive mode) sync option (recursion, keep the same symlinks, preserve file attributes ex. premissions, time) | |
| # -z compress file data during the transfer | |
| # -P show progress | |
| # --delete delete extra files | |
| # -e specify the remote shell to use | |
| rsync -azP --delete -e "ssh -p 22 -i ~/.ssh/key" source destination | |
| # receiving file list ... | |
| # 1 file to consider |