rename home dirs
This commit is contained in:
parent
f410467a9a
commit
6bdfc3d812
@ -1,45 +0,0 @@
|
|||||||
set number "номер строки
|
|
||||||
set ruler
|
|
||||||
set laststatus=2
|
|
||||||
set encoding=utf-8 "Ставит кодировку UTF-8
|
|
||||||
set nocompatible "Отключает обратную совместимость с Vi
|
|
||||||
syntax on "Включает подсветку синтаксиса
|
|
||||||
|
|
||||||
set expandtab
|
|
||||||
set smarttab
|
|
||||||
set tabstop=4
|
|
||||||
set softtabstop=4
|
|
||||||
set shiftwidth=4
|
|
||||||
set autoindent
|
|
||||||
set smartindent
|
|
||||||
set nowrap
|
|
||||||
|
|
||||||
set noerrorbells
|
|
||||||
set novisualbell
|
|
||||||
set showcmd
|
|
||||||
set showtabline=2
|
|
||||||
|
|
||||||
set ignorecase
|
|
||||||
set smartcase
|
|
||||||
set hlsearch
|
|
||||||
set incsearch
|
|
||||||
|
|
||||||
set mousehide
|
|
||||||
set mouse=a
|
|
||||||
|
|
||||||
set colorcolumn=120
|
|
||||||
set scrolloff=7
|
|
||||||
|
|
||||||
set virtualedit=onemore " allow for cursor beyond last character
|
|
||||||
|
|
||||||
" f4 toggle hlsearch
|
|
||||||
nnoremap <F4> :set invhlsearch<CR>
|
|
||||||
|
|
||||||
set ffs=unix,dos,mac
|
|
||||||
set encoding=utf8
|
|
||||||
|
|
||||||
" tabs
|
|
||||||
nnoremap <C-Left> :tabprevious<CR>
|
|
||||||
nnoremap <C-Right> :tabnext<CR>
|
|
||||||
nnoremap <C-h> :tabprevious<CR>
|
|
||||||
nnoremap <C-l> :tabnext<CR>
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
chmod 751 "${HOME}"
|
|
||||||
mkdir "${HOME}/Public"
|
|
||||||
chmod 1777 "${HOME}/Public"
|
|
||||||
0
etc/skel/code/.gitkeep
Normal file
0
etc/skel/code/.gitkeep
Normal file
0
etc/skel/documents/.gitkeep
Normal file
0
etc/skel/documents/.gitkeep
Normal file
0
etc/skel/downloads/.gitkeep
Normal file
0
etc/skel/downloads/.gitkeep
Normal file
0
etc/skel/playground/.gitkeep
Normal file
0
etc/skel/playground/.gitkeep
Normal file
3
etc/skel/public/.permissions
Normal file
3
etc/skel/public/.permissions
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
chmod 751 "${HOME}"
|
||||||
|
mkdir "${HOME}/public"
|
||||||
|
chmod 1777 "${HOME}/public"
|
||||||
@ -221,7 +221,7 @@ cleanup-directory() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cleanup-downloads() {
|
cleanup-downloads() {
|
||||||
local -r downloads_directory="${HOME}/Downloads"
|
local -r downloads_directory="${HOME}/downloads"
|
||||||
local -r log_file="${downloads_directory}/cleanup.log"
|
local -r log_file="${downloads_directory}/cleanup.log"
|
||||||
|
|
||||||
touch "${log_file}"
|
touch "${log_file}"
|
||||||
|
|||||||
@ -52,4 +52,14 @@ export GOCACHE="${TMPDIR}/go-cache"
|
|||||||
export GOPATH="${HOME}/.cache/go"
|
export GOPATH="${HOME}/.cache/go"
|
||||||
export GOBIN="${HOME}/.local/bin"
|
export GOBIN="${HOME}/.local/bin"
|
||||||
|
|
||||||
export GOPROXY=off
|
export GOPROXY=off
|
||||||
|
|
||||||
|
|
||||||
|
export XDG_DESKTOP_DIR="${HOME}/desktop"
|
||||||
|
export XDG_DOCUMENTS_DIR="${HOME}/documents"
|
||||||
|
export XDG_DOWNLOAD_DIR="${HOME}/downloads"
|
||||||
|
export XDG_MUSIC_DIR="${HOME}/music"
|
||||||
|
export XDG_PICTURES_DIR="${HOME}/pictures"
|
||||||
|
export XDG_PUBLICSHARE_DIR="${HOME}/public"
|
||||||
|
export XDG_TEMPLATES_DIR="${HOME}/templates"
|
||||||
|
export XDG_VIDEOS_DIR="${HOME}/videos"
|
||||||
Loading…
x
Reference in New Issue
Block a user