From 5cda022c1c3b23da7e3ae473ca92cd598e68adf0 Mon Sep 17 00:00:00 2001 From: hayao Date: Sat, 18 Apr 2020 19:46:17 +0900 Subject: [PATCH] [update] : Share files minimized. --- .../{share => plasma}/airootfs/etc/bash.bashrc | 0 .../{share => plasma}/airootfs/etc/bash_aliases | 0 channels/{share => plasma}/airootfs/etc/hosts | 0 channels/{share => plasma}/airootfs/etc/nanorc | 0 .../{share => plasma}/airootfs/etc/pacman.conf | 0 channels/xfce/airootfs/etc/bash.bashrc | 16 ++ channels/xfce/airootfs/etc/bash_aliases | 3 + channels/xfce/airootfs/etc/hosts | 5 + channels/xfce/airootfs/etc/nanorc | 314 +++++++++++++++++++++ channels/xfce/airootfs/etc/pacman.conf | 123 ++++++++ 10 files changed, 461 insertions(+) rename channels/{share => plasma}/airootfs/etc/bash.bashrc (100%) rename channels/{share => plasma}/airootfs/etc/bash_aliases (100%) rename channels/{share => plasma}/airootfs/etc/hosts (100%) rename channels/{share => plasma}/airootfs/etc/nanorc (100%) rename channels/{share => plasma}/airootfs/etc/pacman.conf (100%) create mode 100644 channels/xfce/airootfs/etc/bash.bashrc create mode 100644 channels/xfce/airootfs/etc/bash_aliases create mode 100644 channels/xfce/airootfs/etc/hosts create mode 100644 channels/xfce/airootfs/etc/nanorc create mode 100644 channels/xfce/airootfs/etc/pacman.conf diff --git a/channels/share/airootfs/etc/bash.bashrc b/channels/plasma/airootfs/etc/bash.bashrc similarity index 100% rename from channels/share/airootfs/etc/bash.bashrc rename to channels/plasma/airootfs/etc/bash.bashrc diff --git a/channels/share/airootfs/etc/bash_aliases b/channels/plasma/airootfs/etc/bash_aliases similarity index 100% rename from channels/share/airootfs/etc/bash_aliases rename to channels/plasma/airootfs/etc/bash_aliases diff --git a/channels/share/airootfs/etc/hosts b/channels/plasma/airootfs/etc/hosts similarity index 100% rename from channels/share/airootfs/etc/hosts rename to channels/plasma/airootfs/etc/hosts diff --git a/channels/share/airootfs/etc/nanorc b/channels/plasma/airootfs/etc/nanorc similarity index 100% rename from channels/share/airootfs/etc/nanorc rename to channels/plasma/airootfs/etc/nanorc diff --git a/channels/share/airootfs/etc/pacman.conf b/channels/plasma/airootfs/etc/pacman.conf similarity index 100% rename from channels/share/airootfs/etc/pacman.conf rename to channels/plasma/airootfs/etc/pacman.conf diff --git a/channels/xfce/airootfs/etc/bash.bashrc b/channels/xfce/airootfs/etc/bash.bashrc new file mode 100644 index 00000000..e8da601f --- /dev/null +++ b/channels/xfce/airootfs/etc/bash.bashrc @@ -0,0 +1,16 @@ +# +# /etc/bash.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +[[ $DISPLAY ]] && shopt -s checkwinsize + +# PS1='[\u@\h \W]\$ ' +PS1='\u@\h:\w\$ ' + +[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases +[[ -f /etc/bash_functions ]] && source /etc/bash_functions + +export EDITOR=nano diff --git a/channels/xfce/airootfs/etc/bash_aliases b/channels/xfce/airootfs/etc/bash_aliases new file mode 100644 index 00000000..8fdf3e16 --- /dev/null +++ b/channels/xfce/airootfs/etc/bash_aliases @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +alias ls='ls --color=auto' +alias htop='htop -d 5' diff --git a/channels/xfce/airootfs/etc/hosts b/channels/xfce/airootfs/etc/hosts new file mode 100644 index 00000000..a4f48165 --- /dev/null +++ b/channels/xfce/airootfs/etc/hosts @@ -0,0 +1,5 @@ +# Static table lookup for hostnames. +# See hosts(5) for details. + +127.0.0.1 localhost.localdomain localhost +::1 localhost.lcoaldomain localhost diff --git a/channels/xfce/airootfs/etc/nanorc b/channels/xfce/airootfs/etc/nanorc new file mode 100644 index 00000000..db398cf1 --- /dev/null +++ b/channels/xfce/airootfs/etc/nanorc @@ -0,0 +1,314 @@ +## Sample initialization file for GNU nano. +## +## This file should not be in DOS or Mac format, and characters +## specially interpreted by the shell should not be escaped here. +## +## To make sure an option is disabled, use "unset