fix mc file limit alias + journal list-all
This commit is contained in:
parent
f0fe6e7cd4
commit
467aaaba5f
1
bashrc
1
bashrc
|
@ -160,6 +160,7 @@ alias one-letter-command='sed -n "s/^alias *\(.\)=.*$/\1/p" '$SCRIPT_PATH'/bashr
|
||||||
alias loser="echo il n\'y a pas de loser ici, que des winner \(des gens qui utilise linux\)"
|
alias loser="echo il n\'y a pas de loser ici, que des winner \(des gens qui utilise linux\)"
|
||||||
alias monip="dig +short txt ch whoami.cloudflare @1.0.0.1 | sed 's/\"//g'"
|
alias monip="dig +short txt ch whoami.cloudflare @1.0.0.1 | sed 's/\"//g'"
|
||||||
alias pvpn="export $(dbus-launch) && gnome-keyring-daemon -r -d && protonvpn-app"
|
alias pvpn="export $(dbus-launch) && gnome-keyring-daemon -r -d && protonvpn-app"
|
||||||
|
alias fix-minecraft-file-limit="echo 256 | sudo tee /proc/sys/fs/inotify/max_user_instances"
|
||||||
|
|
||||||
# alias avec parametre
|
# alias avec parametre
|
||||||
emoji(){ grep -i $1 $OPT_PATH/emoji; }
|
emoji(){ grep -i $1 $OPT_PATH/emoji; }
|
||||||
|
|
8
journal
8
journal
|
@ -39,6 +39,8 @@ if [[ $1 == "help" ]]; then
|
||||||
echo -e "\t\tcommit change and push it with today date as commit message unless specified"
|
echo -e "\t\tcommit change and push it with today date as commit message unless specified"
|
||||||
echo -e $BOLD"\tjournal list$RESET ["$ITA"year|directorie$RESET]"
|
echo -e $BOLD"\tjournal list$RESET ["$ITA"year|directorie$RESET]"
|
||||||
echo -e "\t\tlist all entry of current year unless specified and show their first line"
|
echo -e "\t\tlist all entry of current year unless specified and show their first line"
|
||||||
|
echo -e $BOLD"\tjournal list-all"$RESET
|
||||||
|
echo -e "\t\tlist all entry of all year directories and other directories"
|
||||||
echo -e $BOLD"\tjournal list-dir"$RESET
|
echo -e $BOLD"\tjournal list-dir"$RESET
|
||||||
echo -e "\t\tlist all year directories and other directories"
|
echo -e "\t\tlist all year directories and other directories"
|
||||||
echo -e $BOLD"\tjournal grep$RESET ["$ITA"arg...$RESET] "$ITA"patterns"$RESET
|
echo -e $BOLD"\tjournal grep$RESET ["$ITA"arg...$RESET] "$ITA"patterns"$RESET
|
||||||
|
@ -76,6 +78,12 @@ if [[ $1 == "list" ]]; then
|
||||||
exit
|
exit
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
if [[ $1 == "list-all" ]]; then
|
||||||
|
cd $pat
|
||||||
|
ls *
|
||||||
|
exit
|
||||||
|
fi;
|
||||||
|
|
||||||
if [[ $1 == "list-dir" ]]; then
|
if [[ $1 == "list-dir" ]]; then
|
||||||
ls $pat
|
ls $pat
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue