{"id":501,"date":"2018-11-06T12:20:34","date_gmt":"2018-11-06T10:20:34","guid":{"rendered":"https:\/\/blog.chloesoe.ch\/?p=501"},"modified":"2018-11-06T12:21:40","modified_gmt":"2018-11-06T10:21:40","slug":"debian-customizing-steps-after-minimal-installation","status":"publish","type":"post","link":"https:\/\/blog.chloesoe.ch\/?p=501","title":{"rendered":"Debian: Customizing steps after minimal installation"},"content":{"rendered":"<p>Install vim:<\/p>\n<pre><code>apt install -y vim<\/code><\/pre>\n<p>customize ~\/.vimrc for root und administrator (or main user). To paste via PuTTY into a ViM window, you have to add <code>set mouse-=a<\/code> first.<\/p>\n<pre><code>syntax on\r\nset laststatus=2\r\nset nobackup\r\ncolorscheme elflord\r\nset hlsearch\r\nset mouse-=a\r\n\"auto jump to the line where closed\r\nif has(\"autocmd\")\r\n  au BufReadPost * if line(\"'\\\"\") > 0 && line(\"'\\\"\") <= line(\"$\")\r\n    \\| exe \"normal! g'\\\"\" | endif\r\nendif<\/code><\/pre>\n<p>~\/.bashrc (root)<\/p>\n<pre><code>PS1='\\[\\e[1;31m\\]\\u@\\h:\\[\\e[0;33m\\]\\w\\$\\[\\e[0;37m\\] '\r\nexport LC_COLLATE=\"C\"\r\nexport LS_OPTIONS='--color=auto --group-directories-first'\r\neval \"`dircolors`\"\r\nalias ls='ls $LS_OPTIONS'\r\nalias ll='ls $LS_OPTIONS -l'\r\nalias l='ls $LS_OPTIONS -lA'\r\nalias grep='grep --color'<\/code><\/pre>\n<p>Administrator .bashrc, uncomment:<\/p>\n<pre><code>force_color_prompt=yes<\/code><\/pre>\n<p>Add at the end at \" some more ls aliases\" <\/p>\n<pre><code>export LC_COLLATE=\"C\"\r\nexport LS_OPTIONS='--color=auto --group-directories-first'\r\neval \"`dircolors`\"\r\nalias ls='ls $LS_OPTIONS' \r\nalias ll='ls $LS_OPTIONS -l'\r\nalias l='ls $LS_OPTIONS -lA'<\/code><\/pre>\n<p>Install\/configure some stuff<\/p>\n<pre><code>apt install -y zip bash-completion\r\ndpkg-reconfigure keyboard-configuration<\/code><\/pre>\n<p>Enable bash-completion <strong>\/etc\/bash.bashrc<\/strong>  (uncomment)<\/p>\n<pre><code># enable bash completion in interactive shells\r\nif ! shopt -oq posix; then\r\n  if [ -f \/usr\/share\/bash-completion\/bash_completion ]; then\r\n    . \/usr\/share\/bash-completion\/bash_completion\r\n  elif [ -f \/etc\/bash_completion ]; then\r\n    . \/etc\/bash_completion\r\n  fi\r\nfi<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install vim: apt install -y vim customize ~\/.vimrc for root und administrator (or main user). To paste via PuTTY into a ViM window, you have to add set mouse-=a first. syntax on set laststatus=2 set nobackup colorscheme elflord set hlsearch set mouse-=a &#8220;auto jump to the line where closed if has(&#8220;autocmd&#8221;) au BufReadPost * if&#8230; <a href=\"https:\/\/blog.chloesoe.ch\/?p=501\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Debian: Customizing steps after minimal installation<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-501","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=501"}],"version-history":[{"count":3,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/501\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/501\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}