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
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
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
| set expandtab | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set autoindent | |
| set smartindent | |
| set bg=dark | |
| set nowrap | |
| set nu | |
| map <F2> :retab <CR> :wq! <CR> | |
| map <F3> :set ff=unix <CR> :w <CR> |
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
| ZSHA_BASE=$HOME/.zsh | |
| [[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile' | |
| DISABLE_MAGIC_FUNCTIONS=true # https://stackoverflow.com/questions/25614613/how-to-disable-zsh-substitution-autocomplete-with-url-and-backslashes | |
| zstyle ':omz:alpha:lib:git' async-prompt no # https://github.com/ohmyzsh/ohmyzsh/issues/12328#issuecomment-2043492331 | |
| source $ZSHA_BASE/antigen.zsh | |
| HIST_STAMPS="dd.mm.yyyy" | |
| UPDATE_ZSH_DAYS="30" | |
| COMPLETION_WAITING_DOTS="true" |
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
| # Usage: prompt-length TEXT [COLUMNS] | |
| # | |
| # If you run `print -P TEXT`, how many characters will be printed | |
| # on the last line? | |
| # | |
| # Or, equivalently, if you set PROMPT=TEXT with prompt_subst | |
| # option unset, on which column will the cursor be? | |
| # | |
| # The second argument specifies terminal width. Defaults to the | |
| # real terminal width. |
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
| diff -ruNp linux-5.4.42/arch/x86/ia32/sys_ia32.c linux-5.4.42-cher1/arch/x86/ia32/sys_ia32.c | |
| --- linux-5.4.42/arch/x86/ia32/sys_ia32.c 2020-05-20 09:20:41.000000000 +0300 | |
| +++ linux-5.4.42-cher1/arch/x86/ia32/sys_ia32.c 2020-08-22 10:28:40.182204939 +0300 | |
| @@ -97,12 +97,26 @@ static int cp_stat64(struct stat64 __use | |
| return 0; | |
| } | |
| +int cher_patch_is_secure_path(const char *); | |
| + | |
| COMPAT_SYSCALL_DEFINE2(x86_stat64, const char __user *, filename, |
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
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/x86 5.4.42-cher1 Kernel Configuration | |
| # | |
| # | |
| # Compiler: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 | |
| # | |
| CONFIG_CC_IS_GCC=y |