diff --git a/.bash_profile b/.bash_profile index cdbe22e..1dce813 100755 --- a/.bash_profile +++ b/.bash_profile @@ -34,13 +34,15 @@ export TZ='Europe/Oslo' #shn() { curl -F "shorten=$1" "https://envs.sh"; } # Cygwin specific -shopt -s completion_strip_exe -alias start='cygstart' -alias cyg-get='cygstart /e/Install/Cygwin/setup-x86_64.exe -qn -P' -alias cyg-update='cygstart /e/Install/Cygwin/setup-x86_64.exe -qng' -alias npp='cygstart /d/bin/Notepad++/notepad++.exe' -alias sublime='cygstart /d/bin/Sublime/sublime_text.exe' -alias sudo='gsudo' # github.com/gerardog/gsudo +if [[ "$(uname)" == *"CYGWIN"* ]]; then + shopt -s completion_strip_exe + alias start='cygstart' + alias cyg-get='cygstart /e/Install/Cygwin/setup-x86_64.exe -qn -P' + alias cyg-update='cygstart /e/Install/Cygwin/setup-x86_64.exe -qng' + alias npp='cygstart /d/bin/Notepad++/notepad++.exe' + alias sublime='cygstart /d/bin/Sublime/sublime_text.exe' + alias sudo='gsudo' # github.com/gerardog/gsudo +fi # Aliases alias cd..='cd ..' diff --git a/.config/mc/ini b/.config/mc/ini index 5f9ac81..37a9938 100755 --- a/.config/mc/ini +++ b/.config/mc/ini @@ -102,7 +102,7 @@ menubar_visible=true free_space=true horizontal_split=false vertical_equal=true -left_panel_size=115 +left_panel_size=106 horizontal_equal=true top_panel_size=1 @@ -163,7 +163,7 @@ panel_scroll_center=false simple_swap=false [Panelize] -Find *.orig after patching=find . -name \\*.orig -print Modified git files=git ls-files --modified -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 +Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print +Find *.orig after patching=find . -name \\*.orig -print diff --git a/.config/nano/nanorc b/.config/nano/nanorc index 85058b8..29d40ac 100755 --- a/.config/nano/nanorc +++ b/.config/nano/nanorc @@ -81,7 +81,7 @@ set fill 79 # set speller "aspell -c" ## Allow nano to be suspended with ^Z -set suspend +bind ^Z suspend main ## Use this tab size instead of the default; it must be greater than 0 set tabsize 4 diff --git a/.lynxrc b/.lynxrc index ddc74fa..cc8e16c 100755 --- a/.lynxrc +++ b/.lynxrc @@ -36,7 +36,7 @@ anonftp_password=anonymous # bookmark_file specifies the name and location of the default bookmark # file into which the user can paste links for easy access at a later # date. -bookmark_file=./.lynx/lynx_bookmarks.html +bookmark_file=~/.config/lynx/lynx_bookmarks.html # If case_sensitive_searching is "on" then when the user invokes a search # using the 's' or '/' keys, the search performed will be case sensitive