rename home dirs

This commit is contained in:
thek4n 2024-12-17 14:04:16 +03:00
parent f410467a9a
commit 6bdfc3d812
9 changed files with 15 additions and 50 deletions

View File

@ -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>

View File

@ -1,3 +0,0 @@
chmod 751 "${HOME}"
mkdir "${HOME}/Public"
chmod 1777 "${HOME}/Public"

0
etc/skel/code/.gitkeep Normal file
View File

View File

View File

View File

View File

@ -0,0 +1,3 @@
chmod 751 "${HOME}"
mkdir "${HOME}/public"
chmod 1777 "${HOME}/public"

View File

@ -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}"

View 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"