This plugin help set up Apache Airflow unit test environment
- Setup required and optional configurations by Environment Variables
#!/bin/sh | |
# | |
# Copyright 2017 Andrey Anshin | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
/* ## Variables ## */ | |
DECLARE @username VARCHAR(50) = 'db_reader' | |
DECLARE @password VARCHAR(50) = 'asecuredpassword' | |
DECLARE @can_read VARCHAR(1) = 'Y' | |
DECLARE @can_write VARCHAR(1) = 'N' | |
/* ## Variables ## */ | |
DECLARE @tsql_return INT | |
DECLARE @tsql_statement NVARCHAR(MAX) |
\set QUIET ON | |
\set HISTFILE ~/.psql_history- :HOST - :DBNAME | |
\set HISTSIZE 2000 | |
\set COMP_KEYWORD_CASE upper | |
\x | |
\pset linestyle unicode | |
\pset border 2 | |
\pset null '[NULL]' |
export ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="agnoster" | |
CASE_SENSITIVE="false" | |
COMPLETION_WAITING_DOTS="true" | |
HIST_STAMPS="yyyy-mm-dd" | |
plugins=(sudo git command-not-found) | |
source $ZSH/oh-my-zsh.sh | |
export HISTFILE=$HOME/.zsh_history | |
export HISTSIZE=3000 |
This plugin help set up Apache Airflow unit test environment