Add bash files
This commit is contained in:
parent
f94a4d3ecf
commit
d5b5fb2204
3 changed files with 84 additions and 0 deletions
8
.alias
Normal file
8
.alias
Normal file
|
@ -0,0 +1,8 @@
|
|||
alias em='emacsclient -t'
|
||||
alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
|
||||
|
||||
alias wifi='sudo iwconfig wlp2s0 | grep -i --color quality'
|
||||
alias battery_time="battery | grep 'time to empty'"
|
||||
alias backup_lacie="rsync -rltDv --log-file=/var/log/marcus/lacie-2tb.log /home/marcus /run/media/marcus/Lacie-2TB/"
|
||||
alias messages="sudo tail -f -n 5 /var/log/messages"
|
||||
alias strato-vm="mosh marcus@marcuskammer.org"
|
33
.bashrc
Normal file
33
.bashrc
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Sample .bashrc for SuSE Linux
|
||||
# Copyright (c) SuSE GmbH Nuernberg
|
||||
|
||||
# There are 3 different types of shells in bash: the login shell, normal shell
|
||||
# and interactive shell. Login shells read ~/.profile and interactive shells
|
||||
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
|
||||
# settings made here will also take effect in a login shell.
|
||||
#
|
||||
# NOTE: It is recommended to make language settings in ~/.profile rather than
|
||||
# here, since multilingual X sessions would not work properly if LANG is over-
|
||||
# ridden in every subshell.
|
||||
|
||||
# Some applications read the EDITOR variable to determine your favourite text
|
||||
# editor. So uncomment the line below and enter the editor of your choice :-)
|
||||
export ALTERNATE_EDITOR=""
|
||||
export EDITOR="emacsclient -t" # $EDITOR opens in terminal
|
||||
#export VISUAL="emacs" # $VISUAL opens in GUI mode
|
||||
#export VISUAL="emacsclient -c -a emacs" # $VISUAL opens in GUI mode
|
||||
#export EDITOR=/usr/bin/vim
|
||||
#export EDITOR=/usr/bin/mcedit
|
||||
|
||||
# For some news readers it makes sense to specify the NEWSSERVER variable here
|
||||
#export NEWSSERVER=your.news.server
|
||||
|
||||
# If you want to use a Palm device with Linux, uncomment the two lines below.
|
||||
# For some (older) Palm Pilots, you might need to set a lower baud rate
|
||||
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
|
||||
#
|
||||
#export PILOTPORT=/dev/pilot
|
||||
#export PILOTRATE=115200
|
||||
|
||||
export TERM="screen-256color"
|
||||
test -s ~/.alias && . ~/.alias || true
|
43
.profile
Normal file
43
.profile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Sample .profile for SuSE Linux
|
||||
# rewritten by Christian Steinruecken <cstein@suse.de>
|
||||
#
|
||||
# This file is read each time a login shell is started.
|
||||
# All other interactive shells will only read .bashrc; this is particularly
|
||||
# important for language settings, see below.
|
||||
|
||||
test -z "$PROFILEREAD" && . /etc/profile || true
|
||||
|
||||
# Most applications support several languages for their output.
|
||||
# To make use of this feature, simply uncomment one of the lines below or
|
||||
# add your own one (see /usr/share/locale/locale.alias for more codes)
|
||||
# This overwrites the system default set in /etc/sysconfig/language
|
||||
# in the variable RC_LANG.
|
||||
#
|
||||
#export LANG=de_DE.UTF-8 # uncomment this line for German output
|
||||
#export LANG=fr_FR.UTF-8 # uncomment this line for French output
|
||||
#export LANG=es_ES.UTF-8 # uncomment this line for Spanish output
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
# Some people don't like fortune. If you uncomment the following lines,
|
||||
# you will have a fortune each time you log in ;-)
|
||||
|
||||
#if [ -x /usr/bin/fortune ] ; then
|
||||
# echo
|
||||
# /usr/bin/fortune
|
||||
# echo
|
||||
#fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
export GITLABTOKEN="zmqMEUQhF3fwsBVRdz3u"
|
||||
export PATH="$HOME/.npm-packages/bin:$PATH"
|
||||
export GOOGLE_API_KEY="AIzaSyBo-ekWrxSRfUHQ7Ho0YqGweLVysuinP4Q"
|
Loading…
Add table
Reference in a new issue