Compare commits
merge into: rlbr:master
rlbr:master
rlbr:termux
rlbr:wsl
pull from: rlbr:termux
rlbr:master
rlbr:termux
rlbr:wsl
No commits in common. 'master' and 'termux' have entirely different histories.
13 changed files with 245 additions and 171 deletions
-
10.bash_aliases
-
7.bash_logout
-
1.bash_profile
-
113.bashrc
-
26.config/htop/htoprc
-
142.config/mc/ini
-
5.flake8
-
10.gitconfig
-
11.gitignore
-
39.profile
-
1.screenrc
-
1.termux/termux.properties
-
50.vimrc
@ -1,10 +0,0 @@ |
|||||
alias ll='ls -l' |
|
||||
alias la='ls -A' |
|
||||
alias l='ls -CF' |
|
||||
alias edit='emacsclient -c -a ""' |
|
||||
alias ls='ls --color=auto' |
|
||||
alias dir='dir --color=auto' |
|
||||
alias vdir='vdir --color=auto' |
|
||||
alias grep='grep --color=auto' |
|
||||
alias fgrep='fgrep --color=auto' |
|
||||
alias egrep='egrep --color=auto' |
|
||||
@ -1,7 +0,0 @@ |
|||||
# ~/.bash_logout: executed by bash(1) when login shell exits. |
|
||||
|
|
||||
# when leaving the console clear the screen to increase privacy |
|
||||
|
|
||||
if [ "$SHLVL" = 1 ]; then |
|
||||
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q |
|
||||
fi |
|
||||
@ -1 +1,2 @@ |
|||||
. ~/.profile |
. ~/.profile |
||||
|
. ~/.bashrc |
||||
@ -1,104 +1,9 @@ |
|||||
# ~/.bashrc: executed by bash(1) for non-login shells. |
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) |
|
||||
# for examples |
|
||||
|
|
||||
# If not running interactively, don't do anything |
|
||||
case $- in |
|
||||
*i*) ;; |
|
||||
*) return;; |
|
||||
esac |
|
||||
|
|
||||
# don't put duplicate lines or lines starting with space in the history. |
|
||||
# See bash(1) for more options |
|
||||
HISTCONTROL=ignoreboth |
|
||||
|
|
||||
# append to the history file, don't overwrite it |
|
||||
shopt -s histappend |
|
||||
|
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) |
|
||||
HISTSIZE=1000 |
|
||||
HISTFILESIZE=2000 |
|
||||
|
|
||||
# check the window size after each command and, if necessary, |
|
||||
# update the values of LINES and COLUMNS. |
|
||||
shopt -s checkwinsize |
|
||||
shopt -s expand_aliases |
|
||||
# If set, the pattern "**" used in a pathname expansion context will |
|
||||
# match all files and zero or more directories and subdirectories. |
|
||||
#shopt -s globstar |
|
||||
|
|
||||
# make less more friendly for non-text input files, see lesspipe(1) |
|
||||
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" |
|
||||
|
|
||||
# set variable identifying the chroot you work in (used in the prompt below) |
|
||||
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then |
|
||||
debian_chroot=$(cat /etc/debian_chroot) |
|
||||
fi |
|
||||
|
|
||||
# set a fancy prompt (non-color, unless we know we "want" color) |
|
||||
case "$TERM" in |
|
||||
xterm-color|*-256color) color_prompt=yes;; |
|
||||
esac |
|
||||
|
|
||||
# uncomment for a colored prompt, if the terminal has the capability; turned |
|
||||
# off by default to not distract the user: the focus in a terminal window |
|
||||
# should be on the output of commands, not on the prompt |
|
||||
#force_color_prompt=yes |
|
||||
|
|
||||
if [ -n "$force_color_prompt" ]; then |
|
||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then |
|
||||
# We have color support; assume it's compliant with Ecma-48 |
|
||||
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such |
|
||||
# a case would tend to support setf rather than setaf.) |
|
||||
color_prompt=yes |
|
||||
else |
|
||||
color_prompt= |
|
||||
fi |
|
||||
fi |
|
||||
|
|
||||
if [ "$color_prompt" = yes ]; then |
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' |
|
||||
else |
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' |
|
||||
fi |
|
||||
unset color_prompt force_color_prompt |
|
||||
|
|
||||
# If this is an xterm set the title to user@host:dir |
|
||||
case "$TERM" in |
|
||||
xterm*|rxvt*) |
|
||||
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" |
|
||||
;; |
|
||||
*) |
|
||||
;; |
|
||||
esac |
|
||||
|
|
||||
# enable color support of ls and also add handy aliases |
|
||||
if [ -x /usr/bin/dircolors ]; then |
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" |
|
||||
fi |
|
||||
|
|
||||
# colored GCC warnings and errors |
|
||||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' |
|
||||
|
|
||||
# some more ls aliases |
|
||||
|
|
||||
|
|
||||
# Alias definitions. |
|
||||
# You may want to put all your additions into a separate file like |
|
||||
# ~/.bash_aliases, instead of adding them here directly. |
|
||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package. |
|
||||
|
|
||||
if [ -f ~/.bash_aliases ]; then |
|
||||
. ~/.bash_aliases |
|
||||
fi |
|
||||
|
|
||||
# enable programmable completion features (you don't need to enable |
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile |
|
||||
# sources /etc/bash.bashrc). |
|
||||
if ! shopt -oq posix; then |
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then |
|
||||
. /usr/share/bash-completion/bash_completion |
|
||||
elif [ -f /etc/bash_completion ]; then |
|
||||
. /etc/bash_completion |
|
||||
fi |
|
||||
fi |
|
||||
|
alias ls='ls $LS_OPTIONS' |
||||
|
alias d8c='dalvikvm \ |
||||
|
-cp $EXT_PREFIX/opt/d8/classes.dex:$EXT_PREFIX/opt/d8/classes2.dex:$EXT_PREFIX/opt/d8/classes3.dex:$EXT_PREFIX/opt/d8/classes4.dex \ |
||||
|
com.android.tools.r8.D8 \ |
||||
|
--lib $EXT_PREFIX/opt/d8/android.jar' |
||||
|
alias edit='emacsclient -c -a ""' |
||||
|
function cdproj () { |
||||
|
cd $(dirname $(readlink $(which $1 | head -n 1))) |
||||
|
} |
||||
@ -0,0 +1,26 @@ |
|||||
|
# Beware! This file is rewritten by htop when settings are changed in the interface. |
||||
|
# The parser is also very primitive, and not human-friendly. |
||||
|
fields=0 48 17 18 38 39 40 2 46 47 49 1 |
||||
|
sort_key=47 |
||||
|
sort_direction=1 |
||||
|
hide_threads=0 |
||||
|
hide_kernel_threads=1 |
||||
|
hide_userland_threads=0 |
||||
|
shadow_other_users=0 |
||||
|
show_thread_names=0 |
||||
|
show_program_path=1 |
||||
|
highlight_base_name=0 |
||||
|
highlight_megabytes=1 |
||||
|
highlight_threads=1 |
||||
|
tree_view=1 |
||||
|
header_margin=1 |
||||
|
detailed_cpu_time=0 |
||||
|
cpu_count_from_zero=0 |
||||
|
update_process_names=0 |
||||
|
account_guest_in_cpu_meter=0 |
||||
|
color_scheme=0 |
||||
|
delay=15 |
||||
|
left_meters=AllCPUs Memory Swap |
||||
|
left_meter_modes=1 1 1 |
||||
|
right_meters=Tasks LoadAverage Uptime |
||||
|
right_meter_modes=2 2 2 |
||||
@ -0,0 +1,142 @@ |
|||||
|
[Midnight-Commander] |
||||
|
verbose=true |
||||
|
shell_patterns=true |
||||
|
auto_save_setup=true |
||||
|
preallocate_space=false |
||||
|
auto_menu=false |
||||
|
use_internal_view=true |
||||
|
use_internal_edit=true |
||||
|
clear_before_exec=true |
||||
|
confirm_delete=true |
||||
|
confirm_overwrite=true |
||||
|
confirm_execute=false |
||||
|
confirm_history_cleanup=true |
||||
|
confirm_exit=false |
||||
|
confirm_directory_hotlist_delete=false |
||||
|
confirm_view_dir=false |
||||
|
safe_delete=false |
||||
|
safe_overwrite=false |
||||
|
use_8th_bit_as_meta=false |
||||
|
mouse_move_pages_viewer=true |
||||
|
mouse_close_dialog=false |
||||
|
fast_refresh=false |
||||
|
drop_menus=false |
||||
|
wrap_mode=true |
||||
|
old_esc_mode=true |
||||
|
cd_symlinks=true |
||||
|
show_all_if_ambiguous=false |
||||
|
use_file_to_guess_type=true |
||||
|
alternate_plus_minus=false |
||||
|
only_leading_plus_minus=true |
||||
|
show_output_starts_shell=false |
||||
|
xtree_mode=false |
||||
|
file_op_compute_totals=true |
||||
|
classic_progressbar=true |
||||
|
use_netrc=true |
||||
|
ftpfs_always_use_proxy=false |
||||
|
ftpfs_use_passive_connections=true |
||||
|
ftpfs_use_passive_connections_over_proxy=false |
||||
|
ftpfs_use_unix_list_options=true |
||||
|
ftpfs_first_cd_then_ls=true |
||||
|
ignore_ftp_chattr_errors=true |
||||
|
editor_fill_tabs_with_spaces=false |
||||
|
editor_return_does_auto_indent=true |
||||
|
editor_backspace_through_tabs=false |
||||
|
editor_fake_half_tabs=true |
||||
|
editor_option_save_position=true |
||||
|
editor_option_auto_para_formatting=false |
||||
|
editor_option_typewriter_wrap=false |
||||
|
editor_edit_confirm_save=true |
||||
|
editor_syntax_highlighting=true |
||||
|
editor_persistent_selections=true |
||||
|
editor_drop_selection_on_copy=true |
||||
|
editor_cursor_beyond_eol=false |
||||
|
editor_cursor_after_inserted_block=false |
||||
|
editor_visible_tabs=true |
||||
|
editor_visible_spaces=true |
||||
|
editor_line_state=false |
||||
|
editor_simple_statusbar=false |
||||
|
editor_check_new_line=false |
||||
|
editor_show_right_margin=false |
||||
|
editor_group_undo=false |
||||
|
editor_state_full_filename=false |
||||
|
editor_ask_filename_before_edit=false |
||||
|
nice_rotating_dash=true |
||||
|
mcview_remember_file_position=false |
||||
|
auto_fill_mkdir_name=true |
||||
|
copymove_persistent_attr=true |
||||
|
pause_after_run=1 |
||||
|
mouse_repeat_rate=100 |
||||
|
double_click_speed=250 |
||||
|
old_esc_mode_timeout=1000000 |
||||
|
max_dirt_limit=10 |
||||
|
num_history_items_recorded=60 |
||||
|
vfs_timeout=60 |
||||
|
ftpfs_directory_timeout=900 |
||||
|
ftpfs_retry_seconds=30 |
||||
|
fish_directory_timeout=900 |
||||
|
editor_tab_spacing=8 |
||||
|
editor_word_wrap_line_length=72 |
||||
|
editor_option_save_mode=0 |
||||
|
editor_backup_extension=~ |
||||
|
editor_filesize_threshold=64M |
||||
|
editor_stop_format_chars=-+*\\,.;:&> |
||||
|
mcview_eof= |
||||
|
skin=default |
||||
|
|
||||
|
[Layout] |
||||
|
message_visible=1 |
||||
|
keybar_visible=1 |
||||
|
xterm_title=1 |
||||
|
output_lines=0 |
||||
|
command_prompt=1 |
||||
|
menubar_visible=1 |
||||
|
free_space=1 |
||||
|
horizontal_split=0 |
||||
|
vertical_equal=1 |
||||
|
left_panel_size=38 |
||||
|
horizontal_equal=1 |
||||
|
top_panel_size=1 |
||||
|
|
||||
|
[Misc] |
||||
|
timeformat_recent=%b %e %H:%M |
||||
|
timeformat_old=%b %e %Y |
||||
|
ftp_proxy_host=gate |
||||
|
ftpfs_password=anonymous@ |
||||
|
display_codepage=UTF-8 |
||||
|
source_codepage=Other_8_bit |
||||
|
autodetect_codeset= |
||||
|
clipboard_store= |
||||
|
clipboard_paste= |
||||
|
|
||||
|
[Colors] |
||||
|
base_color= |
||||
|
xterm-256color= |
||||
|
color_terminals= |
||||
|
|
||||
|
[Panels] |
||||
|
show_mini_info=true |
||||
|
kilobyte_si=false |
||||
|
mix_all_files=false |
||||
|
show_backups=true |
||||
|
show_dot_files=true |
||||
|
fast_reload=false |
||||
|
fast_reload_msg_shown=false |
||||
|
mark_moves_down=true |
||||
|
reverse_files_only=true |
||||
|
auto_save_setup_panels=false |
||||
|
navigate_with_arrows=false |
||||
|
panel_scroll_pages=true |
||||
|
panel_scroll_center=false |
||||
|
mouse_move_pages=true |
||||
|
filetype_mode=true |
||||
|
permission_mode=false |
||||
|
torben_fj_mode=false |
||||
|
quick_search_mode=2 |
||||
|
select_flags=6 |
||||
|
|
||||
|
[Panelize] |
||||
|
Find *.orig after patching=find . -name \\*.orig -print |
||||
|
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print |
||||
|
Find rejects after patching=find . -name \\*.rej -print |
||||
|
Modified git files=git ls-files --modified |
||||
@ -1,5 +0,0 @@ |
|||||
[flake8] |
|
||||
max-line-length = 80 |
|
||||
... |
|
||||
select = C,E,F,W,B,B950 |
|
||||
ignore = E501 |
|
||||
@ -1,7 +1,9 @@ |
|||||
[credential] |
|
||||
helper = store |
|
||||
[core] |
|
||||
autocrlf = false |
|
||||
[user] |
[user] |
||||
name = Raphael Roberts |
name = Raphael Roberts |
||||
email = raphael.roberts48@gmail.com |
email = raphael.roberts48@gmail.com |
||||
|
[credential] |
||||
|
helper = store |
||||
|
[core] |
||||
|
pager = less -+FX |
||||
|
[receive] |
||||
|
denyCurrentBranch = ignore |
||||
@ -1,11 +0,0 @@ |
|||||
/* |
|
||||
!/.bash_aliases |
|
||||
!/.bash_logout |
|
||||
!/.bash_profile |
|
||||
!/.bashrc |
|
||||
!/.dircolors |
|
||||
!/.flake8 |
|
||||
!/.gitconfig |
|
||||
!/.profile |
|
||||
|
|
||||
!/.gitignore |
|
||||
@ -1,31 +1,10 @@ |
|||||
# ~/.profile: executed by the command interpreter for login shells. |
|
||||
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login |
|
||||
# exists. |
|
||||
# see /usr/share/doc/bash/examples/startup-files for examples. |
|
||||
# the files are located in the bash-doc package. |
|
||||
|
|
||||
# the default umask is set in /etc/profile; for setting the umask |
|
||||
# for ssh logins, install and configure the libpam-umask package. |
|
||||
#umask 022 |
|
||||
|
|
||||
# if running bash |
|
||||
if [ -n "$BASH_VERSION" ]; then |
|
||||
# include .bashrc if it exists |
|
||||
if [ -f "$HOME/.bashrc" ]; then |
|
||||
. "$HOME/.bashrc" |
|
||||
fi |
|
||||
|
ps aux | grep -v grep | grep sshd > /dev/null |
||||
|
if [ ! $? -eq 0 ] ; then |
||||
|
sshd |
||||
fi |
fi |
||||
|
|
||||
# set PATH so it includes user's private bin if it exists |
|
||||
if [ -d "$HOME/.local/bin" ] ; then |
|
||||
PATH="$HOME/.local/bin:$PATH" |
|
||||
fi |
|
||||
export SCREENDIR="$HOME/.screen" |
|
||||
if [ ! -d "$SCREENDIR" ] ; then |
|
||||
mkdir "$SCREENDIR" |
|
||||
chmod 700 "$SCREENDIR" |
|
||||
fi |
|
||||
export GOROOT=$HOME/go |
|
||||
export PATH=$PATH:$GOROOT/bin |
|
||||
export PATH="$HOME/.pyenv/bin:$PATH" |
|
||||
eval "$(pyenv init -)" |
|
||||
|
export LS_OPTIONS='--color=auto' |
||||
|
eval "$(dircolors -b ~/.dircolors)" |
||||
|
export EXT_PREFIX=~/external/usr |
||||
|
export PATH=$PATH:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin |
||||
|
export PATH=$HOME/.local/bin:$PATH |
||||
|
shopt -s histappend |
||||
@ -0,0 +1 @@ |
|||||
|
termcapinfo xterm* ti@:te@ |
||||
@ -0,0 +1 @@ |
|||||
|
extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']] |
||||
@ -0,0 +1,50 @@ |
|||||
|
set nocompatible " be iMproved, required |
||||
|
filetype off " required |
||||
|
|
||||
|
" set the runtime path to include Vundle and initialize |
||||
|
set rtp+=~/.vim/bundle/Vundle.vim |
||||
|
call vundle#begin() |
||||
|
" alternatively, pass a path where Vundle should install plugins |
||||
|
"call vundle#begin('~/some/path/here') |
||||
|
|
||||
|
" let Vundle manage Vundle, required |
||||
|
Plugin 'VundleVim/Vundle.vim' |
||||
|
Plugin 'dracula/vim' |
||||
|
" The following are examples of different formats supported. |
||||
|
" Keep Plugin commands between vundle#begin/end. |
||||
|
" plugin on GitHub repo |
||||
|
"Plugin 'tpope/vim-fugitive' |
||||
|
" plugin from http://vim-scripts.org/vim/scripts.html |
||||
|
" Plugin 'L9' |
||||
|
" Git plugin not hosted on GitHub |
||||
|
"Plugin 'git://git.wincent.com/command-t.git' |
||||
|
" git repos on your local machine (i.e. when working on your own plugin) |
||||
|
"Plugin 'file:///home/gmarik/path/to/plugin' |
||||
|
" The sparkup vim script is in a subdirectory of this repo called vim. |
||||
|
" Pass the path to set the runtimepath properly. |
||||
|
"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} |
||||
|
" Install L9 and avoid a Naming conflict if you've already installed a |
||||
|
" different version somewhere else. |
||||
|
" Plugin 'ascenator/L9', {'name': 'newL9'} |
||||
|
|
||||
|
" All of your Plugins must be added before the following line |
||||
|
call vundle#end() " required |
||||
|
filetype plugin indent on " required |
||||
|
" To ignore plugin indent changes, instead use: |
||||
|
"filetype plugin on |
||||
|
" |
||||
|
" Brief help |
||||
|
" :PluginList - lists configured plugins |
||||
|
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate |
||||
|
" :PluginSearch foo - searches for foo; append `!` to refresh local cache |
||||
|
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal |
||||
|
" |
||||
|
" see :h vundle for more details or wiki for FAQ |
||||
|
" Put your non-Plugin stuff after this line |
||||
|
filetype plugin indent on |
||||
|
" show existing tab with 4 spaces width |
||||
|
set tabstop=4 |
||||
|
" when indenting with '>', use 4 spaces width |
||||
|
set shiftwidth=4 |
||||
|
" On pressing tab, insert 4 spaces |
||||
|
set expandtab |
||||
Reference in new issue