New library for reading, copying, making packages.
[AurShell.git] / conf.py
blobed4a7a1ddcaf9d0ccbc408fd2f7893a33926e201
1 #!/usr/bin/python
2 # -*- coding: utf-8-*-
4 """
5 Configuration file.
6 """
8 from colors import *
9 import os
10 import os.path
12 alias = {
13 "h" : "history",
14 "info" : "help",
15 "up" : "aur upgrade",
16 "!p" : "!pacman -U *.pkg.tar.gz",
17 "!sx" : "!pacman -Ss xorg | grep ",
21 modules_path = os.path.join(os.getcwd(), "plugin/")
22 # history file, by default in home dir
23 history_file = os.path.join(os.path.expanduser("~"), ".aurshell_history")
24 history_length = 500
25 # source compilation path, by default in home dir
26 build_dir = os.path.join(os.path.expanduser("~"), "aurshell")
27 # how to install package?
28 install_cmd = "sudo pacman -U "
29 # compile command
30 compile_cmd = "makepkg -f "
31 # AUR url
32 aur_url = "http://aur.archlinux.com"
33 # ABS path
34 abs_path = "/var/abs"
36 # shell prompt
37 shell_prompt = color["BLUE"] + " [ " + color["WHITE"] + "aurshell" + \
38 color["BLUE"] + " ] " + color["none"]