-
Poster
Here is my .zshrc file, it's a slight modification of this .zshrc.
-------------------------------------------------------------------------
#---Variables---#
export LD_LIBRARY_PATH='/usr/local/lib/:/usr/lib/:/lib/:/usr/X11R6/lib/:/usr/include:/usr/local$
export KDEDIR=/opt/kde
export PATH=/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/X$
export LS_COLORS="fi=0;36:di=31;1:ln=1;33:ec=\\e[0;37m:ex=1:mi=1;30r=1;30:*.c=32:*.bz2=32:*.t$
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/"
#--------------#
#---Celeron (Coppermine) aka Celeron2 (Intel)---#
export CHOST="i686-pc-linux-gnu"
export CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
export CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
#-----------------------------------------------#
#---aliases---#
alias startx="startx -- -dpi 75"
alias aterm="aterm -ls -bg black -fg white"
alias ls="ls -p --color=auto"
#-------------#
if ! [ $TERM ] ; then
eval `tset -s -Q`
case $TERM in
con*|vt100) tset -Q -e ^?
;;
esac
fi
#---History file---#
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.history
#------------------#
#---Options---#
setopt \
NO_all_export \
always_last_prompt \
NO_always_to_end \
append_history \
NO_auto_cd \
auto_list \
auto_menu \
NO_auto_name_dirs \
auto_param_keys \
auto_param_slash \
auto_pushd \
auto_remove_slash \
NO_auto_resume \
bad_pattern \
bang_hist \
NO_beep \
brace_ccl \
correct_all \
NO_bsd_echo \
cdable_vars \
NO_chase_links \
NO_clobber \
complete_aliases \
complete_in_word \
NO_correct \
correct_all \
csh_junkie_history \
NO_csh_junkie_loops \
NO_csh_junkie_quotes \
NO_csh_null_glob \
equals \
extended_glob \
extended_history \
function_argzero \
glob \
NO_glob_assign \
glob_complete \
NO_glob_dots \
glob_subst \
hash_cmds \
hash_dirs \
hash_list_all \
hist_allow_clobber \
hist_beep \
hist_ignore_dups \
hist_ignore_space \
NO_hist_no_store \
hist_verify \
NO_hup \
NO_ignore_braces \
NO_ignore_eof \
interactive_comments \
NO_list_ambiguous \
NO_list_beep \
list_types \
long_list_jobs \
magic_equal_subst \
NO_mail_warning \
NO_mark_dirs \
NO_menu_complete \
multios \
nomatch \
notify \
NO_null_glob \
numeric_glob_sort \
NO_overstrike \
path_dirs \
posix_builtins \
NO_print_exit_value \
NO_prompt_cr \
prompt_subst \
pushd_ignore_dups \
NO_pushd_minus \
NO_pushd_silent \
pushd_to_home \
rc_expand_param \
NO_rc_quotes \
NO_rm_star_silent \
NO_sh_file_expansion \
sh_option_letters \
short_loops \
NO_sh_word_split \
NO_single_line_zle \
NO_sun_keyboard_hack \
unset \
NO_verbose \
NO_xtrace \
zle
#-------------#
#---Prompt---#
case "$TERM" in
*xterm*)
declare PS1="-=(%B%n%b : %B%~%b%)=- > ";;
*)
declare PS1="-=(%B%n%b : %B%~%b%)=- > ";;
esac
#-------------#
unset MAILCHECK
export COLORFGBG="lightgray;black"
-------------------------------------------------------------------------
Here is the .torsmorc I use:
-------------------------------------------------------------------------
# torsmo configuration
uppercase no
# set to yes if you want tormo to be forked in the background
background yes
# X font used
font gelly
# Update interval in seconds
update_interval 2
# Draw borders around text
draw_borders no
# Text alignment, other possible values are commented
# alignment top_left
# alignment top_right
alignment top_right
# alignment bottom_right
# No buffers if used memory?
no_buffers yes
# Gap between borders of screen and text
#gap_x 16
#gap_y 333
# Possible variables to be used:
#
# kernel -- kernel version
# uptime -- uptime
# totalup <if> -- total upload
# totaldown <if> -- total download
# speedup <if> -- up speed
# speeddown <if> -- down speed
# speedupf <if> -- up speed (float)
# speeddownf <if>-- down speed (float)
# mem -- amount of mem in use
# memmax -- total amount of mem
# memperc -- percentage of mem in use
# swap -- amount of swap in use
# swapmax -- total amount of swap
# swapperc -- percentage of swap in use
# updates -- number of updates (for debugging :-)
# nodename -- hostname
# machine -- machine, i686 for example
# sysname -- system name, Linux for example
# temp1 -- Temperature #1 from i2c-sensors
# temp2 -- Temperature #2 from i2c-sensors
# &HR <num> -- horizontal line, <num> is the height in pixels
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
#RAM: $mem/$memmax - $memperc% ${color green}${membar 4}$color
#Swap: $swap/$swapmax - $swapperc% ${color green}${swapbar 4}$color
TEXT
Uptime $uptime
RAM: $mem/$memmax - $memperc%
CPU: $cpu% ${color green}${cpubar 4}$color
ppp0:
Up: ${color white}${upspeed ppp0}$color k/s - Down: ${color white}${downspeed ppp0}$color k/s
Totals: Up: ${totalup ppp0} down: ${totaldown ppp0}
-------------------------------------------------------------------------
I'm trying to make a good .tcshrc file for FreeBSD, because when I use zsh in FreeBSD, the backspace and arrow keys make the cursor stay in the same place until I let it go and I can't see what i'm deleting...etc.
Share any interesting config files you have.
-
-
06-17-2004, 05:40 AM
Software & Hardware -
#2
Ð3ƒμ|\|(7
Originally posted by LSA@15 June 2004 - 21:05
Share any interesting config files you have.
Config files?
Are you bored or just bored?
-
-
06-17-2004, 02:24 PM
Software & Hardware -
#3
Poster
Bored at the time I guess. B)
-
-
06-17-2004, 08:10 PM
Software & Hardware -
#4
Ð3ƒμ|\|(7
Originally posted by LSA@15 June 2004 - 21:05
Here is my .zshrc file, it's a slight modification of this .zshrc.
-------------------------------------------------------------------------
#---Variables---#
export LD_LIBRARY_PATH='/usr/local/lib/:/usr/lib/:/lib/:/usr/X11R6/lib/:/usr/include:/usr/local$
export KDEDIR=/opt/kde
export PATH=/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/X$
export LS_COLORS="fi=0;36:di=31;1:ln=1;33:ec=\\e[0;37m:ex=1:mi=1;30r=1;30:*.c=32:*.bz2=32:*.t$
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/"
#--------------#
#---Celeron (Coppermine) aka Celeron2 (Intel)---#
export CHOST="i686-pc-linux-gnu"
export CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
export CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
#-----------------------------------------------#
#---aliases---#
alias startx="startx -- -dpi 75"
alias aterm="aterm -ls -bg black -fg white"
alias ls="ls -p --color=auto"
#-------------#
if ! [ $TERM ] ; then
eval `tset -s -Q`
case $TERM in
con*|vt100) tset -Q -e ^?
;;
esac
fi
#---History file---#
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.history
#------------------#
#---Options---#
setopt \
NO_all_export \
always_last_prompt \
NO_always_to_end \
append_history \
NO_auto_cd \
auto_list \
auto_menu \
NO_auto_name_dirs \
auto_param_keys \
auto_param_slash \
auto_pushd \
auto_remove_slash \
NO_auto_resume \
bad_pattern \
bang_hist \
NO_beep \
brace_ccl \
correct_all \
NO_bsd_echo \
cdable_vars \
NO_chase_links \
NO_clobber \
complete_aliases \
complete_in_word \
NO_correct \
correct_all \
csh_junkie_history \
NO_csh_junkie_loops \
NO_csh_junkie_quotes \
NO_csh_null_glob \
equals \
extended_glob \
extended_history \
function_argzero \
glob \
NO_glob_assign \
glob_complete \
NO_glob_dots \
glob_subst \
hash_cmds \
hash_dirs \
hash_list_all \
hist_allow_clobber \
hist_beep \
hist_ignore_dups \
hist_ignore_space \
NO_hist_no_store \
hist_verify \
NO_hup \
NO_ignore_braces \
NO_ignore_eof \
interactive_comments \
NO_list_ambiguous \
NO_list_beep \
list_types \
long_list_jobs \
magic_equal_subst \
NO_mail_warning \
NO_mark_dirs \
NO_menu_complete \
multios \
nomatch \
notify \
NO_null_glob \
numeric_glob_sort \
NO_overstrike \
path_dirs \
posix_builtins \
NO_print_exit_value \
NO_prompt_cr \
prompt_subst \
pushd_ignore_dups \
NO_pushd_minus \
NO_pushd_silent \
pushd_to_home \
rc_expand_param \
NO_rc_quotes \
NO_rm_star_silent \
NO_sh_file_expansion \
sh_option_letters \
short_loops \
NO_sh_word_split \
NO_single_line_zle \
NO_sun_keyboard_hack \
unset \
NO_verbose \
NO_xtrace \
zle
#-------------#
#---Prompt---#
case "$TERM" in
*xterm*)
declare PS1="-=(%B%n%b : %B%~%b%)=- > ";;
*)
declare PS1="-=(%B%n%b : %B%~%b%)=- > ";;
esac
#-------------#
unset MAILCHECK
export COLORFGBG="lightgray;black"
-------------------------------------------------------------------------
Here is the .torsmorc I use:
-------------------------------------------------------------------------
# torsmo configuration
uppercase no
# set to yes if you want tormo to be forked in the background
background yes
# X font used
font gelly
# Update interval in seconds
update_interval 2
# Draw borders around text
draw_borders no
# Text alignment, other possible values are commented
# alignment top_left
# alignment top_right
alignment top_right
# alignment bottom_right
# No buffers if used memory?
no_buffers yes
# Gap between borders of screen and text
#gap_x 16
#gap_y 333
# Possible variables to be used:
#
# kernel -- kernel version
# uptime -- uptime
# totalup <if> -- total upload
# totaldown <if> -- total download
# speedup <if> -- up speed
# speeddown <if> -- down speed
# speedupf <if> -- up speed (float)
# speeddownf <if>-- down speed (float)
# mem -- amount of mem in use
# memmax -- total amount of mem
# memperc -- percentage of mem in use
# swap -- amount of swap in use
# swapmax -- total amount of swap
# swapperc -- percentage of swap in use
# updates -- number of updates (for debugging :-)
# nodename -- hostname
# machine -- machine, i686 for example
# sysname -- system name, Linux for example
# temp1 -- Temperature #1 from i2c-sensors
# temp2 -- Temperature #2 from i2c-sensors
# &HR <num> -- horizontal line, <num> is the height in pixels
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
#RAM: $mem/$memmax - $memperc% ${color green}${membar 4}$color
#Swap: $swap/$swapmax - $swapperc% ${color green}${swapbar 4}$color
TEXT
Uptime $uptime
RAM: $mem/$memmax - $memperc%
CPU: $cpu% ${color green}${cpubar 4}$color
ppp0:
Up: ${color white}${upspeed ppp0}$color k/s - Down: ${color white}${downspeed ppp0}$color k/s
Totals: Up: ${totalup ppp0} down: ${totaldown ppp0}
-------------------------------------------------------------------------
I'm trying to make a good .tcshrc file for FreeBSD, because when I use zsh in FreeBSD, the backspace and arrow keys make the cursor stay in the same place until I let it go and I can't see what i'm deleting...etc.
Share any interesting config files you have.
I just noticed your -o flag is a class-3 optimization. Do you ever have any performance issues with programs you use a setting like that for?
My processor is 2 times faster than yours (guessing) and I can't specify anything higher than -O2 or my applications start acting strange. With your processor you could probably get by with just -O0 for no optimization at all. I generally use the -O2 flag because it's the number of processors I have in my machine plus one. That's about as much optimiztion as I can get.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks