One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| file_1=test_1; if [ -d "$file_1" ]; then echo -e "\nfile:\tโโ\t$file_1\nstatus: exists"; else echo -e "file:\tโโ\t$file_1\nstatus: does not exists\n"; read -p "Do you want to create $file_1? (y/n): " u_answer; case $u_answer in y|Y|yes|Yes|YES|YeS|YEs|yeS) echo -e "creating $file_1...\n"; `mkdir $file_1`; case "${?}" in 0) echo -e "\nfile: $file_1\nstatus: created"; ;; *) echo -e "ERROR: something happened\nthis might be caused because you don't have permission to write to this folder\nrun 'cd ..' & 'sudo chmod 775 your_folder'"; ;; esac; ;; n|N|No|nO|n0|N0|no) echo "Glad to help!"; ;; *) echo -e "ERROR: command $u_answer not recognized\nexiting the program..."; ;; esac; fi |
| if $COLORTERM == 'gnome-terminal' | |
| set t_Co=256 | |
| endif | |
| set shell=bash | |
| map <C-z> u | |
| set nocompatible " be iMproved, required |
| #!/bin/bash | |
| #sve = System Variable Exemplifier | |
| #This script executes whatever file you tell regardless of in which directory it's currently in. | |
| script_help=$( cat << EOF | |
| This script executes whatever file you tell regardless of | |
| in which directory it's currently in. In order or execution, |
| #!/bin/bash | |
| #sve = System Variable Exemplifier | |
| #This script executes whatever file you tell regardless of in which directory it's currently in. | |
| script_help=$( cat << EOF | |
| This script executes whatever file you tell regardless of | |
| in which directory it's currently in. In order or execution, |
| #!/bin/sh | |
| # | |
| # Query a property from the terminal, e.g. background color. | |
| # | |
| # XTerm Operating System Commands | |
| # "ESC ] Ps;Pt ST" | |
| oldstty=$(stty -g) | |
| # What to query? |
| ## Delete a remote branch | |
| $ git push origin --delete <branch> # Git version 1.7.0 or newer | |
| $ git push origin :<branch> # Git versions older than 1.7.0 | |
| ## Delete a local branch | |
| $ git branch --delete <branch> | |
| $ git branch -d <branch> # Shorter version | |
| $ git branch -D <branch> # Force delete un-merged branches | |
| ## Delete a local remote-tracking branch |
This should make true-color and italics work in your tmux session.
Tested successfully in bash and zsh with latest packages from Arch (with exception of Neovim from Git) 20019-07-07.
&t_8f and &t_8b in your vim config$TERM in your zshrc, bashrc, etc. Let your terminal set this. So far xterm-256color has worked best for me.| --- | |
| -- Function to retrieve console output | |
| -- | |
| function os.capture(cmd, raw) | |
| local handle = assert(io.popen(cmd, 'r')) | |
| local output = assert(handle:read('*a')) | |
| handle:close() | |
| if raw then |