Changeset 53


Ignore:
Timestamp:
Dec 18, 2011, 10:11:30 AM (9 years ago)
Author:
g7moreau
Message:
  • Try to be more generic between different shell (bash, ksh, zsh...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bundle/bundle.bash

    r52 r53  
    11function bundle {
    2    ext=$(basename ${SHELL})
    3    folder="/etc/bundle/bundle.d ${HOME}/.config/loadenv"
     2   local ext=$(basename ${SHELL})
     3   local folder="/etc/bundle/bundle.d ${HOME}/.config/loadenv"
    44
    55   case "$1" in
     
    4848
    4949      *)
    50          echo "Usage: bundle list|load|unload|source"
     50         echo "Usage: bundle list|load|unload|source|help"
    5151         ;;
    5252   esac
    5353   }
    5454
    55 declare -fx bundle
     55typeset -fx bundle
    5656
    5757return
Note: See TracChangeset for help on using the changeset viewer.