Some sane defaults [aliases]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This make things more sane imho, but of course ymmv.

- Add interactive options to cp, mv, rm.
- Use vi as an alias for vim
- Allow case insensitive searches in less (and case sensitive when a
capital letter is given)
- Use human readable sizes for df & du

If there are power users who hates all this then they most likely know
how to turn this off as well :=)

--- /etc/bashrc 2006-11-28 15:25:46.000000000 +0100
+++ /opt/backup/etc/bashrc      2007-11-05 19:54:04.000000000 +0100
@@ -3,7 +3,7 @@
 # System wide functions and aliases
 # Environment stuff goes in /etc/profile

 # Even for non-interactive, non-login shells.
 if [ $UID -gt 99 ] && [ "`id -gn`" = "`id -un`" ]; then
        umask 002
@@ -57,4 +57,14 @@
        unset i
        unset pathmunge
 fi
+
+alias cp='cp -iv'
+alias mv='mv -iv'
+alias rm='rm -iv'
+alias df='df -h'
+alias du='du -h --max-depth=1'
+alias vi='vim'
+alias less='less -i'
+
+
 # vim:ts=4:sw=4

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux