This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Default session name if none is set by argument | |
| SESSION_NAME="session1" | |
| if [[ ! -z $1 ]]; then | |
| SESSION_NAME=$1 | |
| fi | |
| # Configure the session if it doesn't exist | |
| tmux has-session -t $SESSION_NAME 2>/dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The CHERE_INVOKING=1 is to avoid Cygwin override startup path by $HOME: https://conemu.github.io/en/CygwinStartDir.html | |
| set-environment -g CHERE_INVOKING 1 | |
| set-option -g default-terminal "screen-256color" | |
| # STARTREGION Options suggested by LazyVim (using :LazyHealth) | |
| set-option -g focus-events on | |
| set-option -a terminal-features "xterm-256color:RGB" | |
| # Show Undercurl of LazyVim's tokyonight theme | |
| #set -g default-terminal "${TERM}" | |
| set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support | |
| set -as terminal-overrides ',*:Setulc=\E[58::2::::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "map <Leader> :noh<cr> | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | |
| set number | |
| set cursorline | |
| set hlsearch | |
| set incsearch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # You must be enable the 256 palette in your terminal to be able to use this color configuration. eg: "export TERM=xterm-256color" | |
| #colors | |
| color diff-stat cyan default bold | |
| color date magenta default | |
| #set date in a preferred format | |
| set blame-view-date = custom | |
| set main-view-date = custom | |
| set refs-view-date = custom | |
| set stash-view-date = custom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -e | |
| echo "installing nix..." | |
| #go to https://github.com/transcode-open/apt-cyg to install apt-cyg in cygwin | |
| apt-cyg install patch curl libcurl-devel perl perl-DBD-SQLite sqlite3 perl-WWW-Curl libcrypt-devel openssl-devel libbz2-devel libsqlite3-devel liblzma-devel libsodium-devel gcc-g++ make vim zlib-devel procps-ng xz pv openssh rsync wget git flex | |
| mkdir -p tmp && cd tmp | |
| #checkout nix | |
| if [ ! -d "nix" ]; then | |
| git clone https://github.com/NixOS/nix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [build_requires] | |
| mingw_installer/0.1@lasote/testing | |
| cmake_installer/0.1@lasote/stable | |
| [settings] | |
| os=Windows | |
| arch=x86_64 | |
| compiler=gcc | |
| compiler.version=4.9 | |
| compiler.libcxx=libstdc++11 | |
| compiler.threads=win32 |